From: Frank Lichtenheld Date: Sun, 2 Sep 2007 21:36:36 +0000 (+0000) Subject: apache.conf: Add file: search shortcut X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=b8b355ae8a369df1fddf23a081282bee7855b250;p=deb%2Fpackages.git apache.conf: Add file: search shortcut Makes a default contents search (i.e. no mode specified). --- diff --git a/conf/apache.conf.sed.in b/conf/apache.conf.sed.in index 2a8d768..c9c3022 100644 --- a/conf/apache.conf.sed.in +++ b/conf/apache.conf.sed.in @@ -127,6 +127,7 @@ RewriteRule ^/([^/+]*)([+])([^/]*)$ "/$1%%{%}2B$3" [N] RewriteRule ^/changelog:(.+)$ http://%SITE%/changelogs/${changelog-url:$1} [R,L,NE] RewriteRule ^/src:([^/]+)$ /source/$1 [R,L,NE] + RewriteRule ^/file:(.+)$ http://%SITE%/search?searchon=contents&keywords=$1 [R,L,NE] RewriteRule ^/(.+)$ /cgi-bin/dispatcher.pl/$1 [L,PT]