#Rewrite urls
RewriteEngine On
RewriteLogLevel 2
RewriteLog "/var/www/mod_rewrite.log"
RewriteRule ^/phpbb/(.*)$ http://forum.mobbing-gegner.de/$1 [L,R=301]
RewriteRule ^/s9y/(.*)$ http://blog.mobbing-gegner.de/$1 [L,R=301]
RewriteRule ^/planet/(.*)$ http://newsclick.mobbing-gegner.de/$1 [L,R=301]
RewriteRule ^/mywiki/(.*)$ http://wiki.mobbing-gegner.de/$1 [L,R=301]
<Location "/">
SetHandler python-program
#PythonHandler mod_python.testhandler
PythonHandler django.core.handlers.modpython
PythonPath "['/var/www/www.mobbing-gegner.de/web/'] + sys.path"
SetEnv DJANGO_SETTINGS_MODULE portalsettings
#PythonDebug On
#PythonInterpreter FrontPage
#PythonAutoReload On #debugging
</Location>
<Location "/media">
SetHandler None
</Location>
<Location "/WeiteWelt">
SetHandler None
</Location>
<Location "/awstats">
SetHandler None
</Location>
<Location "/cgi-bin/">
SetHandler None
</Location>
<LocationMatch "\.(jpg|gif|png)$">
SetHandler None
</LocationMatch>
<Directory /var/www/web1/web>
Options +ExecCG
I +FollowSymLinks
AllowOverride all
</Directory>
-- DetlevLengsfeld 2008-02-27 17:54:28
| /Blog /Forum /NewsClick /WebDjango /Wiki |
Linux/ServerConfig/Hetzner/Apache Konfig/WebDjango (last modified 2008-11-04 07:00:03)