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

r6726 - /man-cgi/conf/lighttpd.conf



Author: jfs
Date: Sat Jun  6 10:32:52 2009
New Revision: 6726

URL: http://svn.debian.org/wsvn/?sc=1&rev=6726
Log:
Update the regexp so you can link directly to manpages, like http://manpages.debian.net/man/5/ietd.conf

Modified:
    man-cgi/conf/lighttpd.conf

Modified: man-cgi/conf/lighttpd.conf
URL: http://svn.debian.org/wsvn/man-cgi/conf/lighttpd.conf?rev=6726&op=diff
==============================================================================
--- man-cgi/conf/lighttpd.conf (original)
+++ man-cgi/conf/lighttpd.conf Sat Jun  6 10:32:52 2009
@@ -53,8 +53,8 @@
    server.errorlog      = "/var/log/lighttpd/manpages-error.log"
    accesslog.filename   = "/var/log/lighttpd/manpages-access.log"
    url.rewrite-once     = (
-   	"(?i)^/man/([0-9])/([[:alnum:]_-]*)$" => "/cgi-bin/man.cgi?query=$2&sektion=$1&apropos=0&manpath=Debian+Sid&locale" ,
-        "(?i)^/man/([[:alnum:]_-]*)$" => "/cgi-bin/man.cgi?query=$1&apropos=1&manpath=Debian+Sid&format=html&locale=en" 
+   	"(?i)^/man/([0-9])/([[:alnum:]_:\+\.-]*)$" => "/cgi-bin/man.cgi?query=$2&sektion=$1&apropos=0&manpath=Debian+Sid&locale" ,
+        "(?i)^/man/([[:alnum:]_:\+\.-]*)$" => "/cgi-bin/man.cgi?query=$1&apropos=1&manpath=Debian+Sid&format=html&locale=en" 
    )
    url.redirect         = ( "^/$"             => "/cgi-bin/man.cgi" )
 }


Reply to: