]>
Commit | Line | Data |
---|---|---|
1 | # Redirection module. | |
2 | # | |
3 | # Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModRedirect | |
4 | ||
5 | server.modules += ( | |
6 | "mod_redirect" | |
7 | ) | |
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 | #} |