Forum Discussion
Remove URI on sorry server page
Amazon is displaying a custom 404 page so any page that is not found gets the customer error. You can do this on your server by changing the 404 page the server send back. You can also do this at the f5. If the status code from the server is a 404. You can host the error page on the f5 instead of sending it to a pool of server. Doing this will allow you to send the same page for 500/400 and server down errors. The following link will walk you through the process.
https://devcentral.f5.com/articles/hosting-sorry-error-or-maintenance-pages-on-big-ip-ltm-with-irules.UmFPRRD4KSo
- pgsmith_120398Oct 18, 2013
Altostratus
Hey Richard, I have a pair of IIS servers configured with the default website binding of *. The default site serves up a custom sorry page and there are dozens of other customized error pages that are bound to their sites URL. This works fine as long as there is no URI. To get around this I remove the URI in my rule. We would prefer the users not get a 404 at all and instead be redirected to the appropriate sorry server page. I initially tried to go the route of hosting the sorry pages on the LTM but we eventually decided not to so we didn't have to give the web developers access to the F5 to update the maintenance pages. There was probably a more intricate route we could have taken but we decided hosting two VMs to use as sorry servers was sufficient with the time we had to set this all up. - Richard__HarlanOct 18, 2013Historic F5 AccountSo if there is no URI the website server the default webpage, which works well. But if you add the URI the server returns the 404 page correct?
- pgsmith_120398Oct 18, 2013
Altostratus
correct. On the IIS side even when the binding for the default page is set to * if there is any URI it will return a 404.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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