diff options
Diffstat (limited to 'doc/redirect.txt')
-rw-r--r-- | doc/redirect.txt | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/doc/redirect.txt b/doc/redirect.txt deleted file mode 100644 index ab4e7a83..00000000 --- a/doc/redirect.txt +++ /dev/null @@ -1,41 +0,0 @@ -=============== -URL Redirection -=============== - --------------------- -Module: mod_redirect --------------------- - -:Author: Jan Kneschke -:Date: $Date: 2005-03-28T08:30:05.699628Z $ -:Revision: $Revision: 227 $ - -:abstract: - url redirection - -.. meta:: - :keywords: lighttpd, redirect - -.. contents:: Table of Contents - -Description -=========== - -... - -Options -======= - -url.redirect - redirects a set of URLs externally - - e.g. :: - - url.redirect = ( "^/show/([0-9]+)/([0-9]+)$" => "http://www.example.org/show.php?isdn=$1&page$2", - "^/get/([0-9]+)/([0-9]+)$" => "http://www.example.org/get.php?isdn=$1&page$2" ) - - # make a external redirect - # from any www.host (with www.) to the host (without www.) - $HTTP["host"] =~ "^www\.(.*)" { - url.redirect = ( "^/(.*)" => "http://%1/$1" ) - } |