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
- ArieJan 22, 2015
Altostratus
While that technically may work, it could result in problems with SEO (Search Engine Optimization). - LyonsG_85618Jan 23, 2015
Cirrostratus
Arie - I shoudl have made it clear - the domain will remain the same - its just the request for content that will go to the pool of content servers. So i believe SEO will remain unaltered.
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
