Davean_Hosang_1
Dec 01, 2008Nimbostratus
Redirect to URI but keep the host the same
Hello,
I am trying to redirect all request going to mysite.com and www.mysite.com to a new URI path but keep the host the same.
Example:
if (http_host contains "mysite.com")
redirect to "http://%h/maintenance/maintenance.html"
use pool serverpool1
}
else {
discard
}
Of course the rule above does not work for me because it keeps redirecting me to the "http://mysite.com/maintenance/maintenance.html"
page
Is this possible?