ServerName @sitedomain@ DocumentRoot "@sitedir@/htdocs" # Error handlers ErrorDocument 500 /errordocs/500.html # Serve django pages PythonPath "['@sitedir@/conf'] + sys.path" SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings SetEnv PYTHON_EGG_CACHE "@sitedir@/tmp/egg_cache" SetHandler mod_python PythonHandler django.core.handlers.modpython PythonAutoReload Off PythonDebug Off # Used to run multiple mod_python sites in the same apache PythonInterpreter reviewboard_@siteid@ # Serve static media without running it through mod_python # (overrides the above) SetHandler None SetHandler None AllowOverride All # Alias static media requests to filesystem Alias /media "@sitedir@/htdocs/media" Alias /errordocs "@sitedir@/htdocs/errordocs"