Parsing The Accept Language Header; Configuring Url Forwarding - Netscape ENTREPRISE SERVER 6.1 - 08-2002 ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Parsing the Accept Language Header

When clients contact a server using HTTP 1.1, 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.
For more information on using the accept language header, see the section "Using
the Accept-language Header" on page 357.

Configuring URL Forwarding

URL forwarding allows you to redirect document requests to another server.
Forwarding URLs or redirection is a method for the server to tell a user that a URL
has changed (for example, because you have moved files to another directory or
server). You can also use redirection to seamlessly send a person who requests a
document on one server to a document on another server.
For example, if you forward
film.example.com
http://film.example.com/info/movies
You can use variables to map directories to new directories. For example, you can
map
virtual server.
For more information about variables, see "Using Variables," on page 257.
Sometimes you may want to redirect requests for all the documents in one
sub-directory to a specific URL. For example, if you had to remove a directory
because it was causing too much traffic, or because the documents were no longer
to be served for any reason, you could direct a request for any one the documents
to a page explaining why the documents were no longer available. For example, a
prefix on
http://www.example.com/explain.html
, the URL
to
/new
/$docroot/new
could be redirected to
/info/movies
http://www.example.com/info/movies
http://www.example.com/info/movies
.
. The mapping will go to the document root for the
.
Configuring URL Forwarding
to a prefix
redirects to
Chapter 14
Content Management
315

Advertisement

Table of Contents
loading

This manual is also suitable for:

Entreprise server 6.1

Table of Contents