The Client Tag - Netscape ENTERPRISE SERVER 6.1 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

The URL
server_name
http://
D:/Netscape/Servers/docs/internalplan1.html
contains the following additional object:
obj.conf
<Object ppath="*internal*">
more directives...
</Object>
In this case, the partial path
D:/Netscape/Servers/docs/internalplan1.html.
processing the directives in this object before processing the remaining directives
in the default object.

The Client Tag

The
tag can be used within an object to limit the execution of a set of
<Client>
directives to requests received from specific clients. Directives listed between a pair
of
<Client> </Client>
matches the parameter value specified by the
A
tag accepts the parameters
<Client>
these parameters to specify the client information to match.
<Client> Tag Parameters
Table 2-1
Parameter
ip
dns
urlhost
You can use wildcards to specify
/internalplan1.html
matches the path
*internal*
tags are executed only if information in the client request
<Client>
,
ip
dns
Description
The IP address of the client.
The DNS name of the client.
The DNS name of the virtual server requested by the
client. This value is provided in the
client request. This is how virtual servers were defined
in earlier versions of Enterprise Server. See the Netscape
Enterprise Server Administrator's Guide for information
on how Netscape recommends implementing virtual
servers in Enterprise Server 6.1.
tag parameter values. For example:
<Client>
The <Object> Tag and the <Client> Tag
would be translated to
. However, suppose that
So now the server starts
tag.
, or
. Use one and only one of
host
header of the
Host
Chapter 2
Syntax and Use of obj.conf
33

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.1

Table of Contents