[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#686943: Rewrite rule that does no packagename rewriting if any of the help pages is requested



Package: debbugs
Version: 2.4.2~exp1
Severity: minor
Tags: patch

Hi,

Attached is a patch that adds a RewriteCond and a RewriteRule to the apache.conf example that allows visitors of the debbugs site to view the help pages (Access.html, Reporting.html, etc.)

Thanks,
Mike

--

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
--- a/examples/apache.conf
+++ b/examples/apache.conf
@@ -13,6 +13,8 @@
     #  RewriteLog /org/bugs.debian.org/apache-rewrite.log
     #  RewriteLogLevel 0
      
+    RewriteCond %{REQUEST_URI} ^/(Access\.html|Developer\.html|Reporting\.html|server-request\.html|server-control\.html|server-refcard\.html).* [NC]
+    RewriteRule .* - [L]
     RewriteRule ^/$ http://www.debian.org/Bugs/
     RewriteRule ^/(robots\.txt|release-critical|apt-listbugs\.html)$ - [L]
     # The following two redirect to up-to-date pages

Attachment: pgprhYuBjkw04.pgp
Description: Digitale PGP-Unterschrift


Reply to: