Forum Discussion
Jan 19, 2011
[HTTP::uri] in browser URL
Hello Community, Does anyone know how the first condition can remain true until the URL IN THE BROWSER changes, making it false? when HTTP_REQUEST { if { ([string tolower [H...
hoolio
Cirrostratus
Jan 21, 2011As a bit of a guess, can you try this?
when HTTP_REQUEST {
if { ([string tolower [HTTP::uri]] contains "/template.login") or ([string tolower [HTTP::header Referer]] contains "/template.login") } {
Do nothing. Let traffic go through because these need to go over SSL
return
} else {
else re-route traffic back to http from https
HTTP::respond 301 Location http://[HTTP::host][HTTP::uri]
return
}
}
Aaron
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
