Forum Discussion
Pav_70755
Nimbostratus
Oct 26, 2010HTTP Re-Direct and keep original URL in address bar
I have the following simple re-direct in place
}
elseif { [HTTP::host] == "www.domain.com }{
HTTP::redirect "http://www.abc.com/subject"
I basically want the address bar to keep ...
hoolio
Cirrostratus
Nov 03, 2010There are two likely causes of the invalid hostname error. Either the host header replacement is using the wrong value, or the request is going to the wrong pool.
Do the servers for www.domain.com answer requests for the www.abc.com content also? If they don't, you need to create a separate www.abc.com pool and uncomment that command in the rule. If you're switching pools based on HTTP request criteria, you should also use a OneConnect profile on the VS. If you're using SNAT on the VS, you can use the default OneConnect source mask of 0.0.0.0. If you're not using SNAT, you can use 255.255.255.255. See the wiki page for details:
http://devcentral.f5.com/wiki/default.aspx/AdvDesignConfig/oneconnect.html
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
