apache config file VirtualHost 80 ServerAdmin webmaster dummy-host exa

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
# apache config file
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot /home/offline/django/muzx
ServerName tralivali.com
<Location "/">
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE muzx.settings
PythonDebug On
PythonPath "['/home/offline/django','/home/offline/django/muzx'] + sys.path"
</Location>
<Location "/media/">
SetHandler None
</Location>
<Location "/static/">
SetHandler None
</Location>
</VirtualHost>