Forum Discussion
iRule won't Execute on HTTPS Virtual
I have created the following simple iRule to append additional URI information when it's ommitted.
when HTTP_REQUEST { if { ([HTTP::uri] == "/") } { HTTP::uri /D3VSOC/ } }
I have the iRule applied to both my http and https virtual servers. This works fine on my http virtual that is doing a sys-redirect to https (http://d3/), but it doesn't execute when applied to my https virtual. I watch the stats and it incements normally when http://d3/ is entered on the browser, but does not execute (Total Executions does not increase) when https://d3/ is input.
We are using Client side encryption only (SSL-Offload), so the Virtual is using HTTPS on 443 and the pool servers are http on port 80.
What am I missing here. Any assistance you can provide would be most appreciated.
1 Reply
- Kevin_Stewart
Employee
Try this:
when HTTP_REQUEST { log local0. "URI = [HTTP::uri]" if { [HTTP::uri] equals "/" } { HTTP::uri "/D3VSOC/" } }Tail the /var/log/ltm log to see what the iRule is doing.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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