![Netscape ENTERPRISE SERVER 6.1 Скачать руководство пользователя страница 33](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653033.webp)
The <Object> Tag and the <Client> Tag
Chapter
2
Syntax and Use of obj.conf
33
The URL
http://
server_name
/internalplan1.html
would be translated to
D:/Netscape/Servers/docs/internalplan1.html
. However, suppose that
obj.conf
contains the following additional object:
In this case, the partial path
*internal*
matches the path
D:/Netscape/Servers/docs/internalplan1.html.
So now the server starts
processing the directives in this object before processing the remaining directives
in the default object.
The Client Tag
The
<Client>
tag can be used within an object to limit the execution of a set of
directives to requests received from specific clients. Directives listed between a pair
of
<Client> </Client>
tags are executed only if information in the client request
matches the parameter value specified by the
<Client>
tag.
A
<Client>
tag accepts the parameters
ip
,
dns
, or
host
. Use one and only one of
these parameters to specify the client information to match.
You can use wildcards to specify
<Client>
tag parameter values. For example:
<Object ppath="*internal*">
more directives...
</Object>
Table 2-1
<
Client>
Tag Parameters
Parameter
Description
ip
The IP address of the client.
dns
The DNS name of the client.
urlhost
The DNS name of the virtual server requested by the
client. This value is provided in the
Host
header of 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.
Содержание ENTERPRISE SERVER 6.1
Страница 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Страница 18: ...Where to Find Related Information 18 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 138: ...CGI to NSAPI Conversion 138 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 214: ...NSAPI Functions in Alphabetical Order 214 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 310: ...The Netscape LDAP Schema 310 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 324: ...Sample MIME Types File 324 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...