SOURCES: trac-apache.conf - let webserver serve static content also for mod...
glen
glen at pld-linux.org
Wed Nov 5 20:11:03 CET 2008
Author: glen Date: Wed Nov 5 19:11:03 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- let webserver serve static content also for mod_python
---- Files affected:
SOURCES:
trac-apache.conf (1.8 -> 1.9)
---- Diffs:
================================================================
Index: SOURCES/trac-apache.conf
diff -u SOURCES/trac-apache.conf:1.8 SOURCES/trac-apache.conf:1.9
--- SOURCES/trac-apache.conf:1.8 Fri Feb 3 19:25:12 2006
+++ SOURCES/trac-apache.conf Wed Nov 5 20:10:57 2008
@@ -1,24 +1,28 @@
# $Id$
+Alias /trac/chrome/common /usr/share/trac/htdocs
+AliasMatch ^/trac/([^/]+)/chrome/common/(.*) /usr/share/trac/htdocs/$2
+<Directory "/usr/share/trac/htdocs">
+ Order allow,deny
+ Allow from all
+</Directory>
# TracModPython
# http://projects.edgewall.com/trac/wiki/TracModPython
<IfModule mod_python.c>
- <Location /trac>
+ <Location /trac>
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
+ # For multiple projects
PythonOption TracEnvParentDir /var/lib/trac
- </Location>
+ </Location>
+ <Location ~ "^/trac/([^/]+/)?chrome/">
+ Sethandler default-handler
+ </Location>
</IfModule>
# TracCgi
# http://projects.edgewall.com/trac/wiki/TracCgi
<IfModule !mod_python.c>
- AliasMatch ^/trac/([^/]+)/chrome/common/(.*) /usr/share/trac/htdocs/$2
- <Directory "/usr/share/trac/htdocs">
- Order allow,deny
- Allow from all
- </Directory>
-
ScriptAlias /trac /usr/share/trac/cgi-bin/trac.cgi
<Location /trac>
<IfModule mod_env.c>
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/trac-apache.conf?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list