X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=examples%2Fapache.conf;h=7db0dc538e52c738f65e854f4f6194f5499c194b;hb=283ed060977d95c449bdd9753c9d7a9a351b6751;hp=00ec1c8df439624be489ef76e44a48670393bd3e;hpb=6a60ee140f14f3d2a7eb09af4d21be839b3229fd;p=debbugs.git diff --git a/examples/apache.conf b/examples/apache.conf index 00ec1c8..7db0dc5 100644 --- a/examples/apache.conf +++ b/examples/apache.conf @@ -16,17 +16,19 @@ 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 [L,R] + RewriteRule ^/[[:space:]]*#?([[:digit:]][[:digit:]][[:digit:]]+)([;&].+)?$ /cgi-bin/bugreport.cgi?bug=$1$2 [L,R,NE] RewriteRule ^/([^/+]*)([+])([^/]*)$ "/$1%%{%}2B$3" [N] RewriteRule ^/[Ff][Rr][Oo][Mm]:([^/]+\@.+)$ /cgi-bin/pkgreport.cgi?submitter=$1 [L,R,NE] # Commented out, 'cuz aj says it will crash master. (old master) # RewriteRule ^/[Ss][Ee][Vv][Ee][Rr][Ii][Tt][Yy]:([^/]+\@.+)$ /cgi-bin/pkgreport.cgi?severity=$1 [L,R] RewriteRule ^/([^/]+\@.+)$ /cgi-bin/pkgreport.cgi?maint=$1 [L,R,NE] - RewriteRule ^/mbox:([[:digit:]][[:digit:]][[:digit:]]+)$ /cgi-bin/bugreport.cgi?mbox=yes&bug=$1 [L,R,NE] + RewriteRule ^/mbox:([[:digit:]][[:digit:]][[:digit:]]+)([;&].+)?$ /cgi-bin/bugreport.cgi?mbox=yes&bug=$1$2 [L,R,NE] RewriteRule ^/src:([^/]+)$ /cgi-bin/pkgreport.cgi?src=$1 [L,R,NE] 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 ^/([^/]+)$ /cgi-bin/pkgreport.cgi?pkg=$1 [L,R,NE]