Forum Discussion
Dayton_Gray_103
Nimbostratus
May 16, 2008Send 404 and redirect?
I have this irule:
HTTP_RESPONSE {
if { [HTTP::status] == "404"} {
HTTP::redirect "http://www.mysite.com/error/nopagehere.html"
}
}
Is there any...
May 16, 2008
I don't think so. A redirect is defined by a 301 or 302 HTTP response with the new address in the "Location" HTTP response header. The 404 HTTP response does not have redirection defined as part of the response.
Anyone else have any ideas on this one?
-Joe
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
