packages: trac/trac-apache.conf - serve plugins htdocs via webserver

glen glen at pld-linux.org
Fri Jan 27 00:00:46 CET 2012


Author: glen                         Date: Thu Jan 26 23:00:46 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- serve plugins htdocs via webserver

---- Files affected:
packages/trac:
   trac-apache.conf (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: packages/trac/trac-apache.conf
diff -u packages/trac/trac-apache.conf:1.12 packages/trac/trac-apache.conf:1.13
--- packages/trac/trac-apache.conf:1.12	Thu Jan 26 23:51:12 2012
+++ packages/trac/trac-apache.conf	Fri Jan 27 00:00:41 2012
@@ -2,6 +2,9 @@
 Alias /trac/chrome/common /usr/share/trac/htdocs
 AliasMatch ^/trac/([^/]+)/chrome/common/js/jquery.js /usr/share/jquery/jquery.js
 AliasMatch ^/trac/([^/]+)/chrome/common/(.*) /usr/share/trac/htdocs/$2
+# namespace for plugins
+AliasMatch ^/trac/([^/]+/)?chrome/([^/]+)/(.*) /usr/share/trac/htdocs/$2/$3
+
 <Directory "/usr/share/trac/htdocs">
 	Order allow,deny
 	Allow from all
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/trac/trac-apache.conf?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list