Article

Marcus Williamson's picture
article
Reads:

5724

Score:
3
3
1
 
Comments:

1

Creating a Custom Error Page for NBM

Author Info

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

(View Disclaimer)

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.


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

kees_s's picture

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.html

© 2013 Novell