]> git.deb.at Git - deb/packages.git/commitdiff
apache.conf: Add some more "no rewrite" patterns
authorFrank Lichtenheld <frank@lichtenheld.de>
Thu, 12 Apr 2007 15:28:01 +0000 (17:28 +0200)
committerFrank Lichtenheld <frank@lichtenheld.de>
Thu, 12 Apr 2007 15:28:01 +0000 (17:28 +0200)
Don't rewrite /about/, we will put static pages there
Don't rewrite *.js files

conf/apache.conf.sed.in

index 037f284b1d5bfd95187557112aa0fb2aafdd850b..f1b62abf8e736516c90f47789d00f7c53d6a659e 100644 (file)
    RewriteRule ^/cgi-(bin|old)/ - [L]
    RewriteRule ^/changelogs/ - [L]
    RewriteRule ^/Pics/ - [L]
+   RewriteRule ^/about/ - [L]
    RewriteRule ^/[^/]+\.css - [L]
+   RewriteRule ^/[^/]+\.js - [L]
 
 #   RewriteRule ^/$ http://www.debian.org/distrib/packages
    RewriteRule ^/([^/+]*)([+])([^/]*)$ "/$1%%{%}2B$3" [N]