Forum Discussion
Yozzer
Aug 14, 2012Nimbostratus
sporadic redirect
Hi
The last part of the following irule (respond) doesnt always trigger:
when HTTP_RESPONSE {
if {$param == 1} {return}
if {$bcooky == 1} {HTTP::cooki...
Yozzer
Aug 14, 2012Nimbostratus
Hi Aaron
Within the HTTP_Request section param is set to 0 if a user goes to a certain path (i.e. https://site.com). We have ASM on so if a user goes to a page that is allowed in the ASM policy (i.e. https://site.com/stop) the param is still set to 0 but we get a connection page reset in the browser and the respond doesnt happen:
when HTTP_RESPONSE {
if {$param == 1} {return}
if {$bcooky == 1} {HTTP::cookie insert name "Test" value $value path "/" domain ".test.com"
HTTP::cookie expires "Test" 172800 }
if {$param == 0} {
log local0. " should redirect"
ASM::disable
set dtime 1
HTTP::respond 200 content \ html stuff here
Is ASM interfering here?
Thanks
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