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 reply back to the client on standard port(80/443)?
Examples I have seen is for incoming redirection, but not outgoing.
thanks
- Colin_Walker_12Historic F5 AccountIt sounds like all you'd need to do is to re-write the host value during the HTTP_RESPONSE event.
when HTTP_RESPONSE { if { [HTTP::host] ends_with "7081" } { HTTP::header replace HOST [getfield [HTTP::host] ":" 1] } }
- hoolio
Cirrostratus
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