Forum Discussion
Paul_Zajicek_73
Nimbostratus
May 30, 2007selectively remove https
Hi,
I have an app that uses both client and server side ssl,
but I have to stop the server side ssl for a certain uri (a webservice) but still keep the client side ssl,
I've searched the forums but I cannot see how to do it as a redirect will not do. Any help is much appreciated, Thanks.
- hoolio
Cirrostratus
In the HTTP_REQUEST event on the clientside (client to BIG-IP), you can determine if the request is one you want to disable SSL for on the serverside (BIG-IP to node).when HTTP_REQUEST { set usessl 1 if { [HTTP::path] starts_with "/clear" } { set usessl 0 } } when SERVER_CONNECTED { if { $usessl == 0 } { SSL::disable } }
when SERVER_CONNECTED { log local0. "Requested path: [clientside {HTTP::path}]" if { [clientside {HTTP::path}] starts_with "/clear" } { SSL::disable } }
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