Forum Discussion
Vishal_96707
Nimbostratus
May 26, 2009Redirection help
I need help with redirection.
Here is the config,
- The app VS is running on 443
- There is one more VS configured listening on port 80 which is just forwarding requests to HTTPS...
hoolio
Cirrostratus
May 26, 2009Can you use a browser plugin like HttpFox for Firefox or Fiddler for IE to see what's actually happening? Can you try testing a rule like this:
when HTTP_REQUEST {
log local0. "[IP::client_addr]:[TCP::local_port]: New [HTTP::method] to [HTTP::host][HTTP::uri]"
if {[HTTP::path] eq "/"}{
log local0. "[IP::client_addr]:[TCP::local_port]: Redirecting to https://[HTTP::host]/abc/xyz/login.do"
HTTP::redirect "https://[HTTP::host]/abc/xyz/login.do"
}
}
It might also be an issue where the app is redirecting to http://, gets redirected from the HTTP VIP to HTTPS, and then gets redirected again to HTTP by the app. If this is happening, you might try creating a custom HTTP profile with rewrite redirects enabled and adding it to your HTTPS VIP.
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