Browse files

Getting trac configuration complete

  • Loading branch information...
1 parent 09ca5d5 commit 63443e204386f4ac3d7d36d53fae38264d306210 @pedersen pedersen committed with TurboGears.org User Mar 6, 2013
Showing with 8 additions and 4 deletions.
  1. +2 −1 apache.conf
  2. +6 −3 trac/trac.wsgi
View
3 apache.conf
@@ -104,7 +104,8 @@
# trac (historical)
<VirtualHost *:80>
ServerName trac.turbogears.org
- WSGIScriptAlias / /home/turbogearsorg/siterepo/website/trac
+ ServerAlias tracnew.turbogears.org
+ WSGIScriptAlias / /home/turbogearsorg/siterepo/website/trac/trac.wsgi
<Directory /home/turbogearsorg/siterepo/website/trac>
WSGIApplicationGroup %{GLOBAL}
View
9 trac/trac.wsgi
@@ -1,9 +1,12 @@
-import os
import sys
-
sys.stdout = sys.stderr
+
+import site
+site.addsitedir('/home/turbogearsorg/tracvenv/lib/python2.6/site-packages')
+
+import os
os.environ['PYTHON_EGG_CACHE'] = '/home/turbogearsorg/tracvenv/traceggs'
-os.environ['TRAC_ENV'] = '/home/turbogearsorg/tracvenv'
+os.environ['TRAC_ENV'] = '/home/turbogearsorg/tracvenv/project'
import trac.web.main

0 comments on commit 63443e2

Please sign in to comment.