από
thk στις 2008-09-09 17:03
This is a sample apache configuration for madpy sites that have openroom also<VirtualHost *:80>
ServerAdmin root@localhost
ServerName www.madpy.net
ServerAlias madpy.net
DocumentRoot /path/to/madpy
<Directory /path/to/madpy>
Options None
AllowOverride All
Order allow,deny
allow from all
SetHandler mod_python
PythonHandler main
PythonDebug On
</Directory>
<Directory /path/to/madpy/media>
SetHandler None
Order allow,deny
allow from all
</Directory>
<Directory /path/to/madpy/achat>
Options None
AllowOverride All
Order allow,deny
allow from all
SetHandler mod_python
PythonHandler Main
PythonDebug On
PythonOption mod_python.session.application_path /
</Directory>
CustomLog /var/log/apache2/madpy.log combined
ErrorLog /var/log/apache2/madpy_error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
ServerSignature On
</VirtualHost>