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
Dec 15, 2010Hi Pav,
Do all servers in the pool have the same host header set in the web server virtual host definition? Is that what you've put in the iRule in replacement of www.abc.com?
Put another way, if you make a request directly to the pool members, what host name(s) do you have to use to get a valid response from the server?
To answer your question, no the iRule doesn't require you to change the pool. I put that in the example in case you did have two different sets of web servers in two different pools.
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
