VirtualHost 127 ServerAdmin mimmuror gmail com ServerName blog bf net

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<VirtualHost 127.0.0.2>
ServerAdmin mimmuror@gmail.com
ServerName blog.bf.net
<Location "/">
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE settings
PythonDebug On
PythonPath "['/home/mimmuror/works/django/byteflow' ] + sys.path"
</Location>
Alias /static/ /home/mimmuror/works/django/byteflow/static/
<Location "/static">
SetHandler None
</Location>
Alias /admin-media/ /usr/lib/python2.5/site-packages/django/contrib/admin/media/
<Location "/admin-media">
SetHandler None
</Location>
ErrorLog /home/mimmuror/tmp/error.log
LogLevel warn
CustomLog /home/mimmuror/access.log combined
</VirtualHost>