Customizing the Proxy Error Page
Novell Cool Solutions: Feature
Digg 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:
<IMG ALIGN=TOP SRC="<PROXY_ADDRESS>/data/nbm1top.jpg" BORDER=0>
<H3>An error has occurred while trying to fill your request . .. </H3>
<ERROR_STATUS> : <ERROR_DESCRIPTION>
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.
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. www.webwiseone.com