/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.
Modifying the ErrorPagesConfig.xml File
The
ErrorPagesConfig.xml
You must edit the
ErrorPagesConfig.xml
various languages. In the
template file
ErrorPageTemplate.htm.<lang>
ErrorMessages.xml.<lang>
attribute value is
fileXn
To map a list of
Accept-Language
the
element under the corresponding
<header>
To modify the
errorpagesconfig.xml
1 Log in to the Access Gateway Appliance machine.
2 Open the
ErrorPagesConfig.xml
directory.
3 Add the language information within the
<ErrorPageConfiguration>
<Profile name = "English"
<header value = "en-us" />
<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:
file stores the header value and the template mapping information.
file to provide localization for error messages in
ErrorPagesConfig.xml
and a messages file
, where <lang> is the
, the
de
ErrorPagesTemplate.htm.de
header values to the template, you must add the header value as
<Profile>
file:
file located in the
<profile>
enable = "1"
<header value = "en-uk" />
, the default profile is served. This profile matches any
any
header value of the browser is
file, each
element corresponds to a
<Profile>
attribute value. For example, if the
fileXn
file is served to the browser.
element.
/errorpagesconfig/current
/var/novell
tag as follows:
fileXn = "en">
en-xyz
would be a match.
en-any
any
as the header value entry to match
en-cany
.
any
en-
(for which there is no
must be preceded by
Server Configuration Settings
89
Need help?
Do you have a question about the ACCESS MANAGER 3.1 SP1 - GATEWAY GUIDE and is the answer not in the manual?
Questions and answers