|
|
When it receives a request, scohelphttpd checks for the requested document in several localized DocumentRoot directories. If the requested document is found, scohelphttpd returns the document to scohelp or another document browser. If it cannot find the document, scohelphttpd delivers an error message.
If LocalizedDocRoot is set, scohelp(X1) and man(1) send Accept-Language to the scohelphttpd server, which uses it to determine the language to use when serving help information. scohelphttpd searches the corresponding LocalizedDocRoot directories after passing through any LanguageAlias settings. If no language-specific location is specified, the server looks in DocumentRoot. See also UNRESOLVED XREF-0. Finally, if the document still has not been found, the server searches the directory specified by CompatibilityRoot.
For example, to serve out of the directory containing documents in French, use the following:
LocalizedDocRoot fr_FR.ISO8859-1 /usr/lib/scohelp/fr_FR.ISO8859-1
The syntax is:
LanguageAlias aliased_locale system_localeIn this example, the server is set to deliver documents from system_locale whenever requests are made for documents from aliased_locale.
For example, to redirect every request with the locale ``fr'' to the locale ``fr_FR.ISO8859-1'', set LanguageAlias to:
LanguageAlias fr fr_FR.ISO8859-1(Only the first two lowercase characters are required to match.) See also UNRESOLVED XREF-0.
To manage the access control user database:
See also nsadmin(1M).
scohelp gets the value of Accept-Language from the browser resource file; see UNRESOLVED XREF-0 in the scohelp(X1) manual page.