Status: New
Owner: ----
Labels: Type-Enhancement Priority-Medium

New issue 1136 by plaes800: Support for apache/mod_wsgi

This was required to get review-board running with mod_wsgi under apache


#!/usr/bin/env python
import os, sys

sys.path.insert(0, "path/to/conf")
os.environ["DJANGO_SETTINGS_MODULE"] = "reviewboard.settings"
os.environ["PYTHON_EGG_CACHE"] = "path/to/egg_cache"

import django.core.handlers.wsgi
_application = django.core.handlers.wsgi.WSGIHandler()

def application(environ, start_response):
     environ['PATH_INFO'] = environ['SCRIPT_NAME'] + environ['PATH_INFO']
     return _application(environ, start_response)

You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to