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 ?
4 Replies
- The_Bhattman
Nimbostratus
Hi Dunleap
Are you terminating the SSL on the load balancer?
Thanks,
Bhattman - Dunleap_21354
Nimbostratus
yes, I have a Vs on the load balancer listening on 443, and a pool on the other side also on 443 - Dunleap_21354
Nimbostratus
this is only my second irule but, isn't there a way to say:
when client connects on any port {
set uri = /gw/webacc
pool Pool_A
} - The_Bhattman
Nimbostratus
Posted 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 iRulewhen 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
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
