Forum Discussion
LyonsG_85618
Cirrostratus
Jan 13, 2015Rewrite HTTP response when error code received
Hi
I need to capture 500 errors and when I receive them return a preformated error page.
This page will sit on a different domain (where the digital publishing team can update it quickly) and there...
LyonsG_85618
Cirrostratus
Jan 19, 2015Thnaks for all the help. I have taken a rather simplistic view on this and just done a simple HTTP::respond
HTTP::respond 302 noserver Location "https://existing.domain.com/federror"
Then in the top part of the iRule i have added:
} elseif {($requestedURI starts_with "/error") or ($requestedURI starts_with "/content")} {
pool /PARTITION/POOL_HOSTING_ERROR_PAGE
And this is working.
Thanks
Arie
Altostratus
Jan 22, 2015While that technically may work, it could result in problems with SEO (Search Engine Optimization).
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
