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

« back to all changes in this revision

Viewing changes to doc/setup/ivle.conf

Added module ivle.config, which takes care of some work interfacing with
    configobj, including searching for the file and opening the object.
ivle.conf.conf now uses this instead of having its own search.

Show diffs side-by-side

added added

removed removed

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