Forum Discussion
Magnum_IP
Nimbostratus
May 03, 2011Routing using the virtual command
I'm having a problem routing traffic using the virtual command on HTTPS and hope that someone can help.
I have everything working on HTTP I just can't get HTTPS to work.
Basically when a certain condition is met I want to change the URI and route the traffic back into the same virtual server without the user seeing a change in URL i.e. I don't want to use a 302 redirect.
I have sanitised this but something along the lines of
when HTTP_REQUEST {
...
if {$myVar < 1} {
HTTP::uri "/new.html"
virtual [virtual name]
}
}
I'm suspecting that the issue with HTTPS is to do with the Client/ServerSSL profiles, I was wondering if the ServerSSL profile was being used with the new connection to the virtual server. At any rate I get a Connection Reset.
Any ideas how I can solve or better troubleshoot my issue?
Regards,
fergu5
13 Replies
- hoolio
Cirrostratus
That's a really well explained, cleanly coded example. Thanks for the contribution.
Aaron - Magnum_IP
Nimbostratus
Just noticed that my LTMMaintenancePage_Refreshable codeshare offering has been removed.
Obviously not up to scratch.
Ferg - Colin_Walker_12Historic F5 AccountIf something was removed it was likely an accident. We're not in the habit of dumping codeshare entries. I'll go take a look for it.
Colin
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
