version 0.9
[bsc-thesis1415.git] / program / everything / apacheconfig
1 <VirtualHost *:80>
2 ServerAdmin webmaster@localhost
3
4 DocumentRoot /var/www
5 <Directory />
6 Options FollowSymLinks
7 AllowOverride None
8 </Directory>
9 <Directory /var/www/>
10 Options Indexes FollowSymLinks MultiViews
11 AllowOverride None
12 Order allow,deny
13 allow from all
14 </Directory>
15
16 ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
17 <Directory "/usr/lib/cgi-bin">
18 AllowOverride None
19 Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
20 Order allow,deny
21 Allow from all
22 </Directory>
23
24 <Directory "/var/www/py">
25 AddHandler mod_python .py
26 PythonHandler input_app
27 PythonDebug on
28 </Directory>
29
30 ErrorLog ${APACHE_LOG_DIR}/error.log
31
32 # Possible values include: debug, info, notice, warn, error, crit,
33 # alert, emerg.
34 LogLevel warn
35
36 CustomLog ${APACHE_LOG_DIR}/access.log combined
37 </VirtualHost>