Customizing And Localizing Error Messages - Novell ACCESS MANAGER 3.1 SP2 - ACCESS GATEWAY GUIDE 2010 Manual

Access gateway guide
Hide thumbs Also See for ACCESS MANAGER 3.1 SP2 - ACCESS GATEWAY GUIDE 2010:
Table of Contents

Advertisement

width="445" src="<PROXY_ADDRESS>/images/
LAP_interoperable_logo_100.gif"></td></tr>
</table>
</center>
</div>
</body>
</html>
4 Modify the error page template. You can edit the default template to customize the user
interface, to modify embedded images, and to provide localization. However,
and
<ERROR_STATUS>
following actions take place when the error page is served to the browser:
<ERROR_STATUS>
replaced with the HTTP status code description.
<ERROR_DESCRIPTION>
<ERROR_DESCRIPTION>
5 If you have changed the file to use a new image:
All the images must be linked to the
All the images must be copied to Tomcat in the path
webapps/LAGERROR/images
If you have changed an image but retained the filename, press Ctrl+F5 in the browser to refresh
the Access Gateway cache.
6 Save the file.
7 Enter the following commands to restart the machine:
/etc/init.d/novell-vmc stop
/etc/init.d/novell-vmc start
8 If the Access Gateway belongs to a cluster, copy the modified file and images to each member
in the cluster, then restart that member.

2.7.2 Customizing and Localizing Error Messages

When the Access Gateway Appliance serves an error message to the browser by using the
header value received from the browser, it selects a suitable error template and an error
Language
message file. To localize the error messages, you must to do the following:
Localize or customize the error messages in the
the language extension. For more information, see
Messages" on page
Modify the
ErrorPagesConfig.xml
information. For more information, see
page
94.
Localizing and Customizing the Error Messages
The error messages contained in the
languages and stored as
ErrorMessages.xml.<lang>
value. You can also customize the English error messages present in the
file.
<ERROR_DESCRIPTION>
: When the error page is served to the browser,
: When the error page is served to the browser,
is replaced with the detailed error description.
<PROXY_ADDRESS>/images/
.
93.
file with the header value and the template mapping
"Modifying the ErrorPagesConfig.xml File" on
ErrorMessages.xml.en
tags should not be removed because the
<ERROR_STATUS>
directory.
/var/opt/novell/tomcat5/
ErrorPagesConfig.xml
"Localizing and Customizing the Error
file can be localized in various
, where <lang> is the
fileXn
ErrorMessages.xml.en
Server Configuration Settings
is
Accept-
file and save it with
attribute
93

Advertisement

Table of Contents
loading

Table of Contents