~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to doc/setup/ivle.conf

  • Committer: William Grant
  • Date: 2009-05-26 02:10:08 UTC
  • Revision ID: grantw@unimelb.edu.au-20090526021008-hnka598yacu5w6da
Always set isdir = False in the file browser template filling.

Previously we used os.path.isdir outside the jail, which was terribly
unreliable and prone to crashing. We should do it properly once we can get
server-side access to the jails.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Custom IVLE Apache config script
 
2
:q
 
3
# Configures IVLE at the root of the site.
 
4
NameVirtualHost *:80
 
5
ServerAdmin ADMIN@EXAMPLE.COM
 
6
ServerName IVLE.EXAMPLE.COM
 
7
 
 
8
<VirtualHost *:80>
 
9
    DocumentRoot /usr/local/share/ivle/www
 
10
    <Directory />
 
11
        Options FollowSymLinks
 
12
        AllowOverride None
 
13
    </Directory>
 
14
 
 
15
    <Location />
 
16
        Order allow,deny
 
17
        Allow from all
 
18
        SetHandler mod_python
 
19
        PythonHandler ivle.dispatch
 
20
        #PythonDebug On
 
21
        PythonOption mod_python.file_session.database_directory /var/lib/ivle/sessions
 
22
        PythonOption mod_python.session.cookie_name ivle
 
23
    </Location>
 
24
 
 
25
    ErrorLog /var/log/apache2/error.log
 
26
 
 
27
    # Possible values include: debug, info, notice, warn, error, crit,
 
28
    # alert, emerg.
 
29
    LogLevel warn
 
30
 
 
31
    CustomLog /var/log/apache2/access.log combined
 
32
    ServerSignature On
 
33
</VirtualHost>