Forum Discussion
Dunleap_21354
Nimbostratus
Mar 30, 2010ssl rule to send to a specific https://host/page/paragraph
I'm needing to find a way to take any https://host1/request and send it to https://host1.domain.com/gw/webacc is there a way to do this using irules ?
The_Bhattman
Nimbostratus
Apr 01, 2010Posted By Dunleap on 03/31/2010 7:38 AM
yes, I have a Vs on the load balancer listening on 443, and a pool on the other side also on 443
Hi Dunleap,
Sounds more like you are passing SSL through the LTM rather then having the SSL certs on the LTM itself. If you are passing it through w/o the SSL certs on the LTM then the LTM will not be able to decrypt the URI which will allow the LTM make the necessary redirection work.
If you have SSL on the LTM with the SSL cert on the LTM then you could use the following example iRule
when HTTP_REQUEST {
if {([HTTP::host] eq "host1") and ([HTTP::uri] eq "/request")} {
HTTP::redirect "http://[HTTP::host].domain.com/gw/webacc"
}
}
I hope this helps
Bhattman
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