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

« back to all changes in this revision

Viewing changes to doc/setup/ivle.conf

Replaced Python config files (conf.py) with new config files system, using
    configobj (INI-file style config files).

setup.py config now produces ./etc/ivle.conf, a new-style config file.
ivle/conf/conf.py is now part of the IVLE source code. It reads the new config
file and provides the same legacy interface, so all of IVLE still functions,
including setup.py config.

Added /etc to the source tree (config files will be stored here).
Added configobj as a dependency in doc/setup/install_proc.txt.

setup.py install copies ./etc/ivle.conf into /etc/ivle/ivle.conf.

Removed boilerplate code generation from setup/configure.py (that code is now
part of ivle/conf/conf.py which is now in the source tree).

Show diffs side-by-side

added added

removed removed

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