Forum Discussion
tamins_90207
Nov 06, 2006Historic F5 Account
basic redirection of http reponse back to a standar port
Greetings,
I need to write an irule to deal with IIS6's courtesy redirect
Server replies to a client request with http://xyz.com:7081,
Is it possible to use an iRule to redirect the r...
Colin_Walker_12
Nov 06, 2006Historic F5 Account
It sounds like all you'd need to do is to re-write the host value during the HTTP_RESPONSE event.
Something like:
when HTTP_RESPONSE {
if { [HTTP::host] ends_with "7081" } {
HTTP::header replace HOST [getfield [HTTP::host] ":" 1]
}
}HTH,
Colin
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