Edgewall Software

Changes between Version 10 and Version 11 of TracModWSGI


Ignore:
Timestamp:
Jul 21, 2008, 9:12:02 PM (16 years ago)
Author:
anonymous
Comment:

Added information about adding paths to a wsgi script.

Legend:

Unmodified
Added
Removed
Modified
  • TracModWSGI

    v10 v11  
    2121You can create a .wsgi files which handles all this for you by running the TracAdmin command {{{deploy}}}.
    2222
    23 After you've done this, add the following to your httpd.conf.
     23If you have installed trac and eggs in a path different from the standard one you should add that path by adding the following code on top of the wsgi script:
     24{{{
     25import site
     26site.addsitedir('/usr/local/trac/lib/python2.4/site-packages')
     27}}}
     28Change it according to the path you installed the trac libs at.
     29
     30After you've done preparing your wsgi-script, add the following to your httpd.conf.
    2431
    2532{{{