IntrFilt Redirection
Redirection allows you to achieve three effects:
-
Move a set of pages to another server without having to change all external
references
-
Record the number of references taken to an external link from your own pages.
Redirection is achieved by reference to the incoming URL. The incoming URL
(without the "http:\\server\")is checked against the redirection list, and
if a match is found, then the matching part of the URL is replaced with the
target URL, and a Redirect response is sent to the client.
For example, a Redirection entry of "guardian,http://www.gre.co.uk,NONOTIFY"
would behave as follows when URL http://w3.ip7co.uk/guardian/index.html is
received:
-
The server part is stripped off the URL giving guardian/index.htm
-
The Partial URL is checked against the redirection entry (from left to right),
and matches on "guardian"
-
guardian is stripped out of the URL and replaced with the redirection target
"//http:/www.gre.co.uk"
-
A Redirect response "http://www.gre.co.uk/index.htm" is sent to the client
with return code "301 Moved" (NONOTIFY) or "200 ok" (NOTIFY).
If the target URL has no server defined, then the current server is added
to the target URL. (See also Multiple Host support)
The redirection list is defined in the Globals file, and each entry has the
format:
-
Source_partial_URL,Target_partialURL, [NOTIFY|NONOTIFY]; The commas and
semi-colon are essential.
The redirection settings are stored in the Globals file for each host under
the following section:
-
Redirect_localhost :{Redirection
definitions}:EndRedirect_localhost
|- Redirection -|-
Hosts -|- Authorisation
-|- Click Maps -|-
Business Objects -|-
Archiving -|- Globals
-|- HTML Level Switching -|-
cgi Processing -|
Designed by and Copyright 1996 Derek
Sims