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

« back to all changes in this revision

Viewing changes to doc/setup/ivle.conf

  • Committer: mattgiuca
  • Date: 2008-02-05 07:13:40 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:420
common.interpret: Changed interface (refactor).
Used to accept absolute filename, and then basically ignored this and looked
in req.path (extremely bad encapsulation). Now does not look in req.path.
Instead accepts jail dir and filename RELATIVE to jail as args. This means it
does not have to figure out the jail itself.

This is necessary to make it possible to interpret scripts which aren't
student scripts.

server: Changed call to common.interpret.interpret_file to match. Now server
calculates the jail directory as an argument.

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 /opt/ivle/www
 
9
    <Directory />
 
10
        Options FollowSymLinks
 
11
        AllowOverride None
 
12
    </Directory>
 
13
    <Directory "/opt/ivle/www/">
 
14
        AllowOverride None
 
15
        Order allow,deny
 
16
        allow from all
 
17
        SetHandler mod_python
 
18
        PythonHandler dispatch
 
19
        #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
 
 
27
    ErrorLog /var/log/apache2/error.log
 
28
 
 
29
    # Possible values include: debug, info, notice, warn, error, crit,
 
30
    # alert, emerg.
 
31
    LogLevel warn
 
32
 
 
33
    CustomLog /var/log/apache2/access.log combined
 
34
    ServerSignature On
 
35
</VirtualHost>