Forum Discussion
Gil_Yoder_43271
Nimbostratus
Sep 04, 2006iRule to strip port from redirection
Where I work we have a web farm that sometimes uses port numbers other than 80 to distinguish different web applications on a server. We have VIPS set up on our LTMs to redirect requests to port 80 to...
Alexander_Stewa
Nimbostratus
Sep 29, 2006We just ran into this exact same problem, so I may be borrowing your iRule. I noticed you used
set statstr [HTTP::status]
if {$statstr == "301" || $statstr == "302"} {
instead of just doing
if {[HTTP::is_redirect]} {
Any reason for that?
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