Forum Discussion
What_Lies_Bene1
Oct 18, 2012Cirrostratus
OK, 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?