All pastes #437231 Raw Edit

Someone

public text v1 · immutable
·published 2007-04-12 22:49 UTC
rendered paste body
<VirtualHost 10.0.1.72:80>
  ServerName www.mydomain.com
  <Location "/">
    SetHandler mod_python
    PythonHandler django.core.handlers.modpython
    PythonPath "sys.path+['/var/django/']"
    SetEnv DJANGO_SETTINGS_MODULE nw5.settings
    PythonDebug On
  </Location>
  <Location "media">
    SetHandler None
  </Location>
</VirtualHost>

<VirtualHost 10.0.1.72:80>
  ServerName www-media.mydomain.com
  DocumentRoot "/var/django/nw5/media"
  SetHandler None
</VirtualHost>