Re: Does Apache Support Piped Logs On Windows Platform

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

 



Frank Misa wrote:
> Hi All,
> 
> I've seen many references to Apache issues with logging to piped
> processes on the forums;  but no clear answer on whether this is
> supported or not.
> Can someone here please confirm -- Yes/No...
> Do the latest versions of Apache 2.0.x  OR Apache 2.2.x support piped
> logs on Windows ?

They did until the 2.0.4x'ish timeframe.  It was 'run this binary' and
set up the log stream as the program's stdin.

As Sander pointed out...

Then it became 'run this shell command through cmd.exe' - which needed
stdin/out/err all set up right to not-fail running as-a-service.

Change it back from shellcmd to program and voila, the code works.  We
hacked at various handle codes for stdout/stderr, but nothing except
a legitimate file stream will make cmd.exe happy.

So Apache just dies with a message that it fails to create the log.

> The following directive crashes both versions of Apache for me - on
> WinXP and Win2003....

CRASHES?

> The following was my directive -- modSecurity related -- but apache logs
> do the same thing:
>>>SecAuditLog "|C:/Perl/bin/perl.exe
> C:/fmm/ApacheSSL224/bin/modsec-auditlog-collector.pl"

Uhm - SecAuditLog is NOT an httpd directive.  And if it's crashing, sure
sounds like they missed it on error checking.


---------------------------------------------------------------------
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