Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual page 245

Nsapi
Table of Contents

Advertisement

Table 7-1
Typical components of flex-init formatting
Flex-log option
Status
Response content length
Response content type
Referer header
User-agent header
HTTP Method
HTTP URI
HTTP query string
HTTP protocol version
Accept header
Date header
If-Modified-Since header
Authorization header
Any header value
Name of authorized user
Value of a cookie
Value of any variable
in Req->vars
Virtual Server ID
Examples
The first example below initializes flexible logging into the file
/usr/netscape/server4/https-servername/logs/access
Init fn=flex-init
access="/usr/netscape/server4/https-servername/logs/access"
format.access="%Ses->client.ip% - %Req->vars.auth-user%
[%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status%
%Req->srvhdrs.content-length%"
Component
%Req->srvhdrs.clf-status%
%Req->srvhdrs.content-length%
%Req->srvhdrs.content-type%
\"%Req->headers.referer%\"
\"%Req->headers.user-agent%\"
%Req->reqpb.method%
%Req->reqpb.uri%
%Req->reqpb.query%
%Req->reqpb.protocol%
%Req->headers.accept%
%Req->headers.date%
%Req->headers.if-modified-since%
%Req->headers.authorization%
headername
%Req->headers.
%Req->vars.auth-user%
%Req->headers.cookie.
varname
%Req->vars.
%vsid%
Chapter 7
Syntax and Use of magnus.conf
Init SAFs
%
name
%
%
.
245

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents