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

« back to all changes in this revision

Viewing changes to doc/setup/ivle.conf

  • Committer: Nick Chadwick
  • Date: 2009-02-23 23:06:45 UTC
  • mto: (1099.1.227 exercise-ui)
  • mto: This revision was merged to the branch mainline in revision 1100.
  • Revision ID: chadnickbok@gmail.com-20090223230645-yam30bupsu0xj8dy
Modified the database layer so that exercises have a get_permissions
object.

Show diffs side-by-side

added added

removed removed

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