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