Forum Discussion
CraigM_17826
Altocumulus
Feb 03, 2010Odd issue with pools and a redirect
Hi all,
Sorry if this is a bit of a rambling post, but it's quite an odd issue I am seeing and I wanted to explain what we are doing and why. Hopefully it's not too confusing.
...
hoolio
Cirrostratus
Feb 03, 2010Hi Craig,
I think you have rewrite redirects enabled on the HTTP profile associated with the VIP.
If you want to confirm what LTM gets in the server response headers you could use a debug logging iRule like this:
http://devcentral.f5.com/wiki/default.aspx/iRules/LogHttpHeaders.html
Also, you can make the iRule slightly more efficient by tracking the serverside SSL requirement with a variable instead of the pool name:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/site1" } {
pool "External_Site1"
set usessl 1
} else {
set usessl 0
}
}
when SERVER_CONNECTED {
if { $usessl } {
SSL::profile "External_Site1"
} else {
SSL::disable serverside
}
}
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