SOURCES: trac-apache.conf - alias for static content for cgi mode
glen
glen at pld-linux.org
Wed Feb 1 23:05:22 CET 2006
Author: glen Date: Wed Feb 1 22:05:22 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- alias for static content for cgi mode
---- Files affected:
SOURCES:
trac-apache.conf (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SOURCES/trac-apache.conf
diff -u SOURCES/trac-apache.conf:1.6 SOURCES/trac-apache.conf:1.7
--- SOURCES/trac-apache.conf:1.6 Wed Feb 1 22:44:31 2006
+++ SOURCES/trac-apache.conf Wed Feb 1 23:05:16 2006
@@ -13,6 +13,12 @@
# TracCgi
# http://projects.edgewall.com/trac/wiki/TracCgi
<IfModule !mod_python.c>
+ AliasMatch ^/trac/(?:[^/]+)/chrome/common/(.*) /usr/share/trac/htdocs/$1
+ <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>
@@ -23,7 +29,7 @@
</IfModule>
# You need this to allow users to authenticate
-<Location ~ "^/trac/.*/login">
+<Location ~ "^/trac/[^/]+/login">
AuthType Basic
AuthName "trac"
AuthUserFile /etc/webapps/trac/htpasswd
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/trac-apache.conf?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list