Re: when does apache write to the access log?



"chipk" <ckaye9@xxxxxxxxx> wrote in message
news:a14f844e-d256-46b3-89bf-75ab64288ce5@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
If a given GET/POST is not recorded in access_log, does this guarantee
that apache did not receive the incoming request on the network side?
Or does apache delay writing to access_log until the underlying module
(e.g. mod_php) returns? The second scenario would suggest that
absence of an access_log record could be due either to a problem
before apache received the request, or within the called module.
Thanks.

Apache only writes the log entry upon completion of the request (one of the
standard fields in the log is the number of bytes transferred, which will
not be known until the end of the request)

You may want to look into mod_status and the ExtendedStatus directive.


.



Relevant Pages

  • [TOOL] Blowchunks - Protecting Existing Apache Servers Until Upgrades Arrive
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... a known vulnerable apache server until they can ... on HTTP "request" messages. ... Attached are a two versions of code to allow the server to intercept each ...
    (Securiteam)
  • [UNIX] Apache HTTP Server 413 Error Page XSS
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Apache HTTP Server 413 Error Page XSS ... Apache 2.X returns a '413 Request Entity Too Large' error, ...
    (Securiteam)
  • Re: mod_perl, "use lib", and stuff ...
    ... Under mod_perl the Perl interpreter can ... persist from one request to the next. ... Alternatively have a separate Apache instance per version. ... > create a program plus some modules for that program to use, ...
    (comp.lang.perl.modules)
  • setpeuid(pid_t, uid_t) proposal
    ... Apache sends and receives HTTP posts, ... Apache on the server must either a) run as root, ... The request comes with authentication information (in a number ... This daemon is highly audited and does one purpose, ...
    (Linux-Kernel)
  • Error in porting a running Http Application to uClinux-2.0.38
    ... mp3 file from an apache server.The program works fine ... bytes.This pointer is used for building the request to ... request string I found a dump of the following strings ...
    (comp.os.linux.embedded)