Article

Creating a Custom Error Page for NBM

Author Info

28 January 2008 - 7:15am
Submitted by: Marcus Williamson

article
Reads:

2915

Score:
3
3
1
 
Comments:

1

Problem

A Forum reader recently asked:

"I'm trying to create a custom error page for my BorderManager installation. Any suggestions?"

And here is the response from Marcus Williamson ...

Solution

Just cut and paste everything in the example below. Your image files should be in SYS:ETC\PROXY\DATA and should have exactly the same lowercase names as specified in the HTML.


<HTML>
<HEAD>
<TITLE>BorderManager Information Alert</TITLE>
</HEAD>

<BODY bgColor=white>

<p align="center">
<img border="0" src="<PROXY_ADDRESS>/data/accden.gif" width="435"
height="205"></p>
<p align="center"> </p>
<p align="center"><font size="4" face="Arial Rounded MT Bold"
color="#FF0000">
THE PAGE YOU ARE TRYING TO ACCESS IS RESTRICTED BY COMPANY
POLICY</font></p>
<p align="center">
 </p>
<p align="center">
<img border="0" src="<PROXY_ADDRESS>/data/rblogo.gif" width="354"
height="129"></p>

</BODY>
</HTML>

The variable "PROXY_ADDRESS" should be typed exactly as it is. It is replaced by the BorderManager miniwebserver when the page is displayed.

After making the change, save the new pxyerr.htm file. Then unload/reload the PROXY.NLM.


Author Info

28 January 2008 - 7:15am
Submitted by: Marcus Williamson




User Comments

In this tip the PXYERR.HTM

Submitted by kees_s on 6 April 2009 - 2:57am.

In this tip the PXYERR.HTM page is created. The author suggests that it is only used for Access Denied type of errors.

But this page, if created, will be used for displaying ALL Bordermanager errors. Even those that have nothing to do with access being denied.

You can customize this page, so that information about all errors will be displayed. See for more information:

http://www.novell.com/coolsolutions/feature/7872.h...

© 2009 Novell, Inc. All Rights Reserved.