KB: 00002004
Last updated
Was this helpful?
Last updated
Was this helpful?
The client wants to mask application exceptions and errors with custom pages.
We have configured domain "diwakar.slb.com" on SLB and configured back-end server behind the SLB which is having the IP 139.0.0.5. when user tried to open the website is opening fine and all traffic is moving through SLB. User wants set the error pages on specific HTTP status code.
The client can achieve the requirement by creating the error rule as mentioned below
Step 1 :-Log into the Haltdos console.
Step 2 :-Go to Stack > SLB>RESOURSES>WEB PAGES.
Step 3 :- Click on the "Add Page" option, write content that to be shown on the page and click on save changes.
Step 4 :- Now go under added listener, select error rule from the rules drop-down menu. (Stack>SLB>Listeners>Rules>Error rule>Add Rule)
Step 5 :- Configure the rule as per the client requirement for HTTP response code and select the error page required.
Step 6 :- Click on save changes.
In this way, users can configure the error rule.
Step 7 :- Below is the sample error page shown for 404 HTTP status code.