Created
October 22, 2010 00:14
-
-
Save justinkelly/639661 to your computer and use it in GitHub Desktop.
trac wsgi file for parent dir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for more info refer: http://blog.justin.kelly.org.au/tracwsgi-for-tracenvparentdir | |
# based on the trac.wsgi used for the trac + bzr hosting service http://bzr.bz | |
import sys | |
sys.stdout = sys.stderr | |
import os | |
os.environ['TRAC_ENV_PARENT_DIR'] = '/var/www/trac' | |
os.environ['PYTHON_EGG_CACHE'] = ' /usr/share/pyshared' | |
import trac.web.main | |
application = trac.web.main.dispatch_request |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment