Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/TurboGears/tgwebsite
Browse files Browse the repository at this point in the history
  • Loading branch information
amol- committed Mar 12, 2013
2 parents 1a67d75 + 63443e2 commit bb98137
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion apache.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
9 changes: 6 additions & 3 deletions trac/trac.wsgi
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit bb98137

Please sign in to comment.