X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=examples%2Fapache.conf;h=298472bc04fa2c46313c870dd9393f56af6e02a3;hb=a2280def4dae41ee886f5923ada6d4a2cf8d9461;hp=e322c0fbdca8ce8e162c62f0fbae8c345aaeaa5d;hpb=f3a25fc7566f8a4a98996a0e01fcb03dc0adf72b;p=debbugs.git diff --git a/examples/apache.conf b/examples/apache.conf index e322c0f..298472b 100644 --- a/examples/apache.conf +++ b/examples/apache.conf @@ -13,7 +13,7 @@ # RewriteLog /org/bugs.debian.org/apache-rewrite.log # RewriteLogLevel 0 - RewriteRule ^/$ http://www.debian.org/Bugs/ + #RewriteRule ^/$ http://www.debian.org/Bugs/ RewriteRule ^/(robots\.txt|release-critical|apt-listbugs\.html)$ - [L] # The following two redirect to up-to-date pages RewriteRule ^/[[:space:]]*#?([[:digit:]][[:digit:]][[:digit:]]+)([;&].+)?$ /cgi-bin/bugreport.cgi?bug=$1$2 [L,R,NE] @@ -27,6 +27,9 @@ RewriteRule ^/severity:([^/]+)$ /cgi-bin/pkgreport.cgi?severity=$1 [L,R,NE] RewriteRule ^/tag:([^/]+)$ /cgi-bin/pkgreport.cgi?tag=$1 [L,R,NE] # RewriteMap fix-chars int:noescape + RewriteCond %{REQUEST_URI} ^/(Access\.html|Developer\.html|Reporting\.html|server-request\.html|server-control\.html|server-refcard\.html).* [NC] + RewriteRule .* - [L] + RewriteRule ^/([0-9]+)$ /cgi-bin/bugreport.cgi?bug=$1 [L,R,NE] RewriteRule ^/([^/]+)$ /cgi-bin/pkgreport.cgi?pkg=$1 [L,R,NE]