Forum Discussion
tdoc_90806
Nimbostratus
Dec 16, 2008Sharepoint 2007 Problem
Hi,
I am publishing Sharepoint using an external F5 (where SSL terminates), ISA2006, then via another internal F5, Load Balancing IIS server. I have followed the F5 deployment guide and I am ab...
hoolio
Cirrostratus
Dec 16, 2008Hi,
What is the port in the requested host header value? Can you add a log statement to your iRule performing the redirect from http to https? If the port number is included in the request, you could strip it out before redirecting to https:
when HTTP_REQUEST {
log local0. "[IP::client_addr]:[TCP::client_port]: Redirecting new request from [HTTP::host][HTTP::uri] to https"
Check if Host header value has a length
if {[string length [HTTP::host]]}{
Redirect to the requested host and URI (minus the port if specified)
HTTP::respond 301 Location https://[getfield [HTTP::host] ":" 1][HTTP::uri]
} else {
Redirect to VIP's IP address
HTTP::respond 301 Location https://[IP::local_addr][HTTP::uri]
}
}
Can you also use a browser plugin like Fiddler for IE or HttpFox for FF to see what is triggering the request to http? If you see a 30x redirect coming from the app to http://sitename... you could enable rewrite redirects on the HTTPS VIP's HTTP profile to rewrite these redirects from http to https.
Aaron
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