Forum Discussion
LB_54336
Nimbostratus
May 19, 2011HTTP_REQUEST not working for HTTPS with SSL Offloading
I am having a problem with my iRule. I cannot get the iRule to recognize HTTP_REQUEST. I am using HTTPS with SSL Offloading and requiring a Client Certificate.
My iRule should check the URL and only if /FOLDERA/ is in the URL will it continue. But it's not recognizing it at all.
when HTTP_REQUEST {
if { ( [string toupper [HTTP::uri]] starts_with "/FOLDERA/" ) } {
log local0. "URL Accepted [HTTP::uri]"
} else {
log local0. "URL Rejected [HTTP::uri]"
reject
}
}
- hoolio
Cirrostratus
Hi LB, - LB_54336
Nimbostratus
Nothing is being logged even when I just do the iRule just like this. Nothing is logged. - LB_54336
Nimbostratus
Ok I just figured it out. After the when HTTP_REQUEST I have a when CLIENTSSL_HANDSHAKE and the connection was getting rejected there and therefore the HTTP_REQUEST wasn't being recognized. - hoolio
Cirrostratus
That makes sense. If the HTTP headers weren't being parsed, you'd never get the HTTP_REQUEST event triggered.
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