summaryrefslogtreecommitdiff
path: root/doc/rewrite.txt
diff options
context:
space:
mode:
authorstbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9>2015-09-18 15:15:18 +0000
committerstbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9>2015-09-18 15:15:18 +0000
commit8b2630a82fbecfd57fa38aebb397a755936690e5 (patch)
treea9cfcd7bb5bea87d63fc8ef81c8456a130a249bc /doc/rewrite.txt
parente57c8295ebe92b58ca3e68fa8ea8f70d4b0b4cee (diff)
downloadlighttpd-master.tar.gz
add README to point to lighttpd-1.4.x as stableHEADmaster
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@3041 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'doc/rewrite.txt')
-rw-r--r--doc/rewrite.txt71
1 files changed, 0 insertions, 71 deletions
diff --git a/doc/rewrite.txt b/doc/rewrite.txt
deleted file mode 100644
index ec00f5d8..00000000
--- a/doc/rewrite.txt
+++ /dev/null
@@ -1,71 +0,0 @@
-============
-URL Rewrites
-============
-
--------------------
-Module: mod_rewrite
--------------------
-
-:Author: Jan Kneschke
-:Date: $Date: 2005-03-28T08:30:05.699628Z $
-:Revision: $Revision: 227 $
-
-:abstract:
- url rewrite
-
-.. meta::
- :keywords: lighttpd, rewrite
-
-.. contents:: Table of Contents
-
-Description
-===========
-
-internal redirects, url rewrite
-
-Options
-=======
-
-url.rewrite-once
- rewrites a set of URLs interally in the webserver BEFORE they are handled.
-
- e.g. ::
-
- url.rewrite-once = ( "<regex>" => "<relative-uri>" )
-
-url.rewrite-repeat
- rewrites a set of URLs interally in the webserver BEFORE they are handled
-
- e.g. ::
-
- url.rewrite-repeat = ( "<regex>" => "<relative-uri>" )
-
-The options ``url.rewrite`` and ``url.rewrite-final`` were mapped to ``url.rewrite-once``
-in 1.3.16.
-
-Examples
-========
-
-The regex is matching the full REQUEST_URI which is supplied by the user including
-query-string.::
-
- url.rewrite-once = ( "^/id/([0-9]+)$" => "/index.php?id=$1",
- "^/link/([a-zA-Z]+)" => "/index.php?link=$1" )
-
-
-
- # the following example, is, however just simulating vhost by rewrite
- # * you can never change document-root by mod_rewrite
- # use mod_*host instead to make real mass-vhost
-
- # request: http://any.domain.com/url/
- # before rewrite: REQUEST_URI="/www/htdocs/url/"
- # and DOCUMENT_ROOT="/www/htdocs/" %0="www.domain.com" $1="url/"
- # after rewrite: REQUEST_URI="/www/htdocs/domain.com/url/"
- # still, you have DOCUMENT_ROOT=/www/htdocs/
-
- server.document-root = "/www/htdocs/"
- $HTTP["host"] =~ "^.*\.([^.]+\.com)$" {
- url.rewrite-once = ( "^/(.*)" => "/%0/$1" )
- }
-