Novell NETWARE 6-DOCUMENTATION Manual page 1998

Table of Contents

Advertisement

Parsing the Accept Language Header
Setting Document Preferences
The default is usually Text/Plain, but you should set it to the type of file most
commonly stored on your server. Some common MIME types include the
following:
text/plain
text/richtext
image/jpeg
application/x-tar
application/x-gzip
When clients contact a server using HTTP, they can send header information
describing the languages they accept. You can configure your server to parse
this language information.
For example, if you store documents in Japanese and English, you could
choose to parse the Accept Language header. When clients that have Japanese
as the Accept Language header contact the server, they receive the Japanese
version of the page. When clients that have English as the Accept Language
header contact the server, they receive the English version.
If you do not support multiple languages, you should not parse the Accept
Language header.
1
Click Enterprise Web Server servername > Content Management >
Document Preferences.
2
In the Index Filenames field, enter a new index filename.
3
Select the kind of directory indexing you want.
4
Select whether you want users to see a specified home page or an index
file when they access your server. If you select the home page option,
enter the filename of the home page you want in the Index File field.
5
In the Default MIME Type field, enter the default MIME type you want
the server to return if a client accesses a file with an extension that has not
been set up as a MIME type on your server.
6
Select whether or not to parse the accept language header.
7
Click OK > Save and Apply.
text/html
image/tiff
image/gif
application/postscript
audio/basic
Managing Server Content
69

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netware 6

Table of Contents