www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreatta Tullio <tul...@logicom.it>
Subject mod_log-any/573: More LogFormat directives
Date Tue, 13 May 1997 08:50:02 GMT

>Number:         573
>Category:       mod_log-any
>Synopsis:       More LogFormat directives
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Tue May 13 01:50:01 1997
>Originator:     tullio@logicom.it
>Release:        1.2b10
Solaris x86 2.4, 2.5
HP-UX 10.20
Adding additional directives (I choose %M for request method,
%V for request protocol, %A for PathInfo+CGIargs) I rewrite %r
as %M %U%A %V; for virtual hosts, I then set
LogFormat ... \"%M /%v%U%A %V\" ...: it is CLF-compatible and
it contain host information.
[I actually don't need %A and I have not implemented it]

Sorry for my poor english

log_request_method(request_rec *r, char *a) { return r->method ; }
log_request_protocol(request_rec *r, char *a) { return r->protocol ; %7

View raw message