ServerAdmin webmaster@dummy-host.example.com
DocumentRoot /var/www/virtual/default/
ServerName default.example.com
ErrorLog logs/default.example.com-error_log
CustomLog logs/default.example.com-access_log common
ServerName kamal.example.com
ServerAlias kamal2.example.com kamal3.example.com
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot /var/www/virtual/kamal/
AddHandler mod_python .py
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
# Try playing with mod_rewrite
## RewriteEngine On
## RewriteLogLevel 3
## RewriteRule ^hello/(.*)$ /py/hello.py [L]
## RewriteRule ^(.*)$ /redir.html
## RewriteLog "/var/log/httpd/rewrite.log"
SetHandler mod_python
PythonHandler mod_python.publisher
PythonDebug On
AddHandler mod_python .py
SetHandler default-handler