Forum Discussion
Jay_Prasanth_13
Nimbostratus
Oct 13, 2014After applying secure and httponly flag , 404 redirects not working
Hi,
Below is the iRule I created to set secure and httponly flag.
when HTTP_RESPONSE {
HTTP::cookie secure "JSESSIONID" enable
set ck [HTTP::header values "Set-Cookie"]
HTTP::header remove...
Jay_Prasanth_13
Nimbostratus
Oct 13, 2014Hello Arnaud ,
Thanks for the immediate reply , I do know 404 is page not found. Let me elaborate more on the issue.
Here is the issue in detail..
- We have redirect for http error code 404 , which redirects to a separate url, below is the iRule for this job.
when HTTP_RESPONSE {
if { [HTTP::status] eq "404" } { HTTP::redirect "https://xxx.com/yy/404" } }
- Recently we implement httponly and secure flag for all our websites (iRule in this thread)
- Sites working fine , all is good at this point.
- If URL is mistyped it should supposed to redirect to https://xxx.com/yy/404 , which is not working (was working prior implementing httponly and secure flag )
- GET https://xxx.com/blahblah shows "500 read failed:"
- tcpdump didn’t help much.
Let me know if not clear.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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