source: trunk/doc/django.conf@ 6433

Last change on this file since 6433 was 6351, checked in by RIck van der Zwet, 16 years ago
  • Hardcoding path to all calling via mod_python
  • Sample working apache configuration
File size: 796 bytes
Line 
1LoadModule python_module /usr/local/libexec/apache22/mod_python.so
2
3<VirtualHost *:80>
4 ServerName rick.wleiden.net
5
6 RewriteEngine On
7 RewriteRule ^/exodus$ /exodus/ [R=301]
8
9 <Location /exodus/>
10 SetHandler python-program
11 PythonHandler django.core.handlers.modpython
12 SetEnv DJANGO_SETTINGS_MODULE exodus.development
13 PythonOption django.root /exodus
14 PythonDebug On
15 PythonPath "['/srv/wleiden/exodus/trunk/parts/django', '/srv/wleiden/exodus/trunk', '/srv/wleiden/exodus/trunk/eggs/Werkzeug-0.3.1-py2.5.egg', '/srv/wleiden/exodus/trunk/parts/extras/django-command-extensions/'] + sys.path"
16 </Location>
17
18 <Directory /srv/wleiden/exodus/trunk/exodus/static>
19 Allow from all
20 </Directory>
21
22 Alias /exodus/static /srv/wleiden/exodus/trunk/exodus/static
23</VirtualHost>
Note: See TracBrowser for help on using the repository browser.