From b8b355ae8a369df1fddf23a081282bee7855b250 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Sun, 2 Sep 2007 21:36:36 +0000 Subject: [PATCH] apache.conf: Add file: search shortcut Makes a default contents search (i.e. no mode specified). --- conf/apache.conf.sed.in | 1 + 1 file changed, 1 insertion(+) 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] -- 2.39.2