I want the following rule to be applied
$HTTP["host"] =~ "^www\.example\.com$" {
url.redirect = ( "^/(.*)" => "http://ift.tt/1yP93mH" )
}
However if the user requests:
- index.html
- the root location i.e (www.example.com)
- tools/*
The request should be served normally
www.example.com/ -> Served normally
http://ift.tt/1MYvd1y -> Server normally
http://ift.tt/1j2EqSL -> http://ift.tt/1FfWO4N
Aucun commentaire:
Enregistrer un commentaire