Forum Discussion
RFLORY_78743
Nimbostratus
Oct 17, 2012Redirecting one HTTPS url to another HTTPS url
I am trying to redirect our mobile users to our new mobile site with a simple iRule. The rule works fine for http traffic as it flows through but for HTTPS it does not work. No errors, it just seem...
What_Lies_Bene1
Cirrostratus
Oct 18, 2012OK, I understand the setup. I don't see any reason why this wouldn't work; the iRule looks just fine, the VS setup you've described sounds fine. If the SSL clients are causing the log entries in both places it's configured then clearly the iRule can read the client data. I'd suggest a few things to try;
1) Do a tcpdump and capture some packets to a file. Wireshark can decrypt them just fine in most cases as long as you have the private key. Or you could use ssldump and do it live on the box.
2) If you don't want to or can't do that; add some more logging, I'd recommend logging the request method, also log that and the other data for connections that don't hit the www match.
3) Try [HTTP::redirect] instead of [HTTP::respond] just to see if that works
4) Is there anything you can do on the client side? Can you confirm if the redirect is actually received or not? Perhaps it is but it's ignored?
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
