Novell is now a part of Micro Focus

Customizing the Proxy Error Page

Novell Cool Solutions: Feature

Digg This - Slashdot This

Posted: 31 May 2002

When PROXY.NLM loads it looks for a PXYERR.HTM file in SYS:ETC\PROXY\DATA. If that file is not found, it will use its own internal error page. By creating your own PXYERR.HTM file you can customize the look and feel of the proxy error page. When Proxy reads the PXYERR.HTM it will look for the following strings and replace them before delivering the file to the browser:

This is a text description of the error that occurred and is used to provide information in addition to the actual ERROR_STATUS.

This is the actual error status that is being returned. For a list of status codes and their descriptions, see RFC 2068, "Hypertext Transfer Protocol -- HTTP/1.1"

This is the "service://host:port" combination that is needed for getting other components of the document, such as graphics. It is based on the actual interface that the original request came in on.

When using any of these strings, do include the "<" and ">". The following is a very simple example of a PXYERR.HTM file:

<TITLE>Proxy Error</TITLE>
<H3>An error has occurred while trying to fill your request . .. </H3>

NOTE: The PXYERR.HTM is only read when PROXY.NLM loads. If you make any changes to this file you must unload/reload PROXY.NLM before the change will take effect.

Other Suggestions

Alexandre Moura

I changed the pxyerr.htm example for BorderManager here in my company.

I have two frames:

1st (up) It's the error message
and down (embaixo.htm) it's a fixed message.

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

© Copyright Micro Focus or one of its affiliates