Re: How to set ENV variable to an apache log directive?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "jbiskofski" == jbiskofski  <jbiskofski@xxxxxxxxx> writes:

    jbiskofski> Hello, Im using Apache 2.0.63 and a module called
    jbiskofski> mod-log-firstbyte that enables a log directive %F which
    jbiskofski> is very similar %D. The difference is instead of storing
    jbiskofski> the time it takes to serve the request, it stores the
    jbiskofski> time between the request being read to the first byte
    jbiskofski> being served.  (
    jbiskofski> http://code.google.com/p/mod-log-firstbyte/ )

    jbiskofski> Id like to have access to this variable in my web
    jbiskofski> applications. Im thinking theres a way to use SetEnvIf
    jbiskofski> to set this value, but am unsure how to proceed.

There's not really a variable called %F.  mod-log-firstbyte is just
computing that value when it sees %F in the log format string.

It's not clear that what you are asking is possible anyway.  When your
web application is invoked, the first byte of the response hasn't been
served yet, so there's no way to know the value of %F.

Dan


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux