Wednesday, January 22, 2014

Iplanet Custom Error pages

It is better to send Custom Error page response to Client when webserver encounters the error instead of default Error Pages .


Coming to Iplanet webserver , Error handling is a part of the Request handling process .


Error Directive executes When ever the Iplanet webserver encounters the error during Request process


The following statements are included in the obj.conf file to provide custom Error page for 404 and 500 .


Add the below entry in obj.conf to proivde custom error page for 404 Errors .


Error fn="send-error" code="404" path="D:/webservicesm/IPLANET/https-webservicesm/docs/404status.html"


Add the below entry in obj.conf to proivde custom error page for 500 Errors :


Error fn="send-error" code="500" path="D:/webservicesm/IPLANET/https-webservicesm/docs/500status.html"


No comments:

Post a Comment