Customizing The Error Pages Of The Access Gateway Service; Section 2.8, "Customizing The Error Pages Of The Access Gateway Service - 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

<header value = "en-any" />
<header value = "any" />
</Profile>
<Profile name = "German" enable = "1" fileXn = "de">
<header value = "de-CH" />
<header value = "de-any" />
</Profile>
</ErrorPageConfiguration>
This file serves the error messages from:
The English profile, if the header value is en-us or en-uk or en-*
The German profile, if the header value is de-CH or de-*
The default profile, if the header value is not any of the above, or if it is defined as
When the header value is defined as
header value that did not have a matching profile. For example, if the header value entry is
, and the
any
Accept-Language
proper match), then the profile with the entry
If
is used to search for any language-specific files, then the word
any
the hyphen (-). For example, you must not specify
en-c* header values.
4 Save the file.
5 Enter the following commands to restart the machine:
/etc/init.d/novell-vmc stop
/etc/init.d/novell-vmc start
6 If the Access Gateway belongs to a cluster, copy the modified file to each member of the
cluster, then restart that member.
2.8 Customizing the Error Pages of the Access
Gateway Service
The Access Gateway Service uses the Apache method for localizing error messages. You can
modify these messages or customize the page they are displayed on.
1 To change a message:
1a Change to the Apache message configuration directory:
Linux:
/etc/opt/novell/apache2/conf/extra
Windows:
\Program Files\Novell\apache\conf\extra
1b Open the
http-multilang-errordoc.conf
The first few lines of this file contains comments on how Apache recommends modifying
the error messages. You can select to use their method or continue with the following
steps.
1c Locate the
ErrorDocument
modify. Make note of the
1d Change to the Apache error directory:
Linux:
/opt/novell/apache2/share/error
, the default profile is served. This profile matches any
any
header value of the browser is
would be a match.
en-any
en-cany
file.
section and determine the error code message you want to
filename.
*.var
(for which there is no
en-xyz
must be preceded by
any
as the header value entry to match
Server Configuration Settings
.
any
en-
95

Advertisement

Table of Contents
loading

Table of Contents