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::cookie insert name "Site" value "Test" path "/"
HTTP::cookie expires "Site" 2678400}
if {$param == 0} {HTTP::respond 404 content "Page not Found\
Page Not Found" }
I have put log commands in and it does trigger the if statement (== 0) but do you know why it doesnt trigger the respond?
Thanks
- hooleylistCirrostratusHi Yozzer,
- YozzerNimbostratusThanks Aaron
- YozzerNimbostratusHi Aaron
- YozzerNimbostratusI moved the respond into the HTTP_Request section and i don't see this issue now.
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