]>
Commit | Line | Data |
---|---|---|
1efd0147 ER |
1 | # Redirection module. |
2 | # | |
bce8a1c7 | 3 | # Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModRedirect |
1efd0147 | 4 | |
7d3968ad ER |
5 | server.modules += ( |
6 | "mod_redirect" | |
7 | ) | |
693950e2 ER |
8 | |
9 | #url.redirect = ( | |
10 | # "^/wishlist/(.+)" => "http://www.123.org/$1", | |
11 | #) | |
12 | #### both rewrite/redirect support back reference to regex conditional using %n | |
13 | #$HTTP["host"] =~ "^www\.(.*)" { | |
14 | # url.redirect = ( "^/(.*)" => "http://%1/$1" ) | |
15 | #} |