|
Jon Ciesla |
b8a4b92 |
# Replace all occurrences of /srv/trac with your trac root below
|
|
Jon Ciesla |
b8a4b92 |
# and uncomment the respective SetEnv and PythonOption directives.
|
|
Jon Ciesla |
b8a4b92 |
WSGIScriptAlias /trac /var/www/cgi-bin/trac.wsgi
|
|
Jon Ciesla |
b8a4b92 |
|
|
Jon Ciesla |
b8a4b92 |
<Directory /var/www/>
|
|
Jon Ciesla |
b8a4b92 |
WSGIApplicationGroup %{GLOBAL}
|
|
Jon Ciesla |
b8a4b92 |
Order deny,allow
|
|
Jon Ciesla |
b8a4b92 |
Allow from all
|
|
Jon Ciesla |
b8a4b92 |
</Directory>
|
|
Jon Ciesla |
b8a4b92 |
# <LocationMatch /cgi-bin/trac\.f?cgi>
|
|
Jon Ciesla |
b8a4b92 |
# SetEnv TRAC_ENV /opt/trac/hn-aci
|
|
Jon Ciesla |
b8a4b92 |
# </LocationMatch>
|
|
Jon Ciesla |
b8a4b92 |
# <IfModule mod_python.c>
|
|
Jon Ciesla |
b8a4b92 |
# <Location /cgi-bin/trac.cgi>
|
|
Jon Ciesla |
b8a4b92 |
# SetHandler mod_python
|
|
Jon Ciesla |
b8a4b92 |
# PythonHandler trac.web.modpython_frontend
|
|
Jon Ciesla |
b8a4b92 |
# #PythonOption TracEnv /srv/trac
|
|
Jon Ciesla |
b8a4b92 |
# </Location>
|
|
Jon Ciesla |
b8a4b92 |
# </IfModule>
|