Forum Discussion
Mike_86382
Altostratus
Apr 23, 2009A twist on the 404 status code
Hello. I am new to iRules, but I have an important task to accomplish:
I need to rewrite an http response status code from 200 to 404 whenever a particular page is sent to the client. W...
Mike_86382
Altostratus
Apr 27, 2009Excellent point Aaron. We will have to change the way this works, because it is issueing a 302 before the 404 (defeats the original purpose). I think we will modify the iRule to detect the server response containing status 302 and the uri of the 404 page, and instead respond with a 404 status and the 404 content.
Good catch. Thank you.
Mike
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