Technical data
Corrections and Updates to 4.0 Documentation
3-8 Oracle iPlanet Web Proxy Server Release Notes
3.2.13 regexp-redirect Function of the NameTrans Directive
The section "NameTrans" in Oracle iPlanet Web Proxy Server 4.0.14 Configuration File
Reference does not include information about the
regexp-redirect
function.
Information about this function follows.
The
regexp-redirect
function is applicable in
NameTrans
-class directives.
The
regexp-redirect
function enables you to change URLs and send the updated
URL to the client. When a client accesses your server with an old path, the server treats
the request as a request for the new URL.
The following table describes parameters for the
regexp-redirect
function.
3.2.14 status-code and status-desc Parameters of the send-error SAF
Oracle iPlanet Web Proxy Server 4.0.15 supports two new parameters for the
send-error
SAF of the
Service
and
Error
directives. The following table provides
information about these new parameters.
3.2.15 New Directives in the magnus.conf File
Table 3–4 lists directives added to the
magnus.conf
file. Note that these directives are
not documented in "Syntax and Use of the
magnus.conf
File" in Oracle iPlanet Web
Proxy Server 4.0.14 Configuration File Reference.
Parameter Description
lookup-ipv6-first
(Optional) A Boolean operator that specifies whether to look up
IPv6 or IPv4 addresses first. The default value is
false
, meaning
that IPv4 addresses are looked up first.
Parameter Description
from
A regular expression for the prefix of the requested URL to
match.
url
/
url-prefix url
specifies a complete URL to return to the client.
url-prefix
specifies the new URL prefix to return to the client.
The
from
prefix is simply replaced by this URL prefix. You
cannot use these parameters together.
escape
(Optional) A Flag that tells the server to use the
util_uri_
escape
action on the URL before sending it. It should be
yes
or
no
. The default is
yes
.
For more information about
util_uri_escape
, see Oracle
iPlanet Web Proxy Server 4.0.14 NSAPI Developer's Guide.
bucket
(Optional) This is common to all
obj.conf
functions.
Parameter Description
status-code
(Optional) Specifies a status code to be set in the HTTP response.
It differs from the
code
parameter in that
code
specifies which
error code triggers execution of the
send-error
SAF, while
status-code
specifies a status code to be set in the response
generated by the
send-error
SAF.
status-desc
(Optional) Specifies a reason string for the status code.