Re: Apache 2.4.2 Error Log Oddness

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

 



On Tue, Aug 28, 2012 at 2:07 PM, Kevin A. McGrail <KMcGrail@xxxxxxxx> wrote:
> On 8/28/2012 1:50 PM, Jeff Trawick wrote:
>>
>> On Tue, Aug 28, 2012 at 1:21 PM, Kevin A. McGrail <KMcGrail@xxxxxxxx>
>> wrote:
>>>
>>> On 8/28/2012 12:30 PM, Jeff Trawick wrote:
>>>>
>>>> Are you using mod_cgid or mod_cgi with 2.0 and 2.2?
>>>
>>> Aha! No, I don't think so, no.  Spot checking a 2.2 server, I do not have
>>> mod_cgi(d).  However, on this 2.4 server, I do have mod_cgid enabled
>>> right
>>> now because without it, my cgis were not being processed.  Admittedly
>>> this
>>> is still a bit of a test server because I'm still working with mod_perl
>>> to
>>> get it to work with 2.4.X.
>>>
>>> So is it now required to run CGIs under 2.4 with mod_cgi(d) but that
>>> wasn't
>>> the case under 2.2/2.0?  Or is there some other plugin or addhandler
>>> statement I should be using?
>>
>> httpd 2.x on Unix:
>>
>> Use mod_cgid if using a threaded MPM.
>> Use mod_cgi or mod_cgid if using a non-threaded MPM.  (Simpler is
>> better, so choose mod_cgi.)
>>
>> IIRC, the default MPM changed from non-threaded in 2.2 (prefork) to
>> threaded in 2.4 (event).
>
> So under 2.2, I used --enable-cgi.  I'll assume this statically built in
> mod_cgi.
>
> Under 2.4, I have a DSO for mod_cgid enabled because I do have a event MPM.
>
> But fundamentally, this means I was using mod_cgi for 2.2.
>
> So is this lack of stderr capturing to separate VHs expected behavior with
> 2.4? with mod_cgid?

IIRC, this has always been the behavior of mod_cgid -- anything the
mod_cgid daemon process needs to log is written to its stderr, which
is the main server error log.

> If so, we likely need to update the error_log notes.

I've written something on my whiteboard about that, but ...

> But I'm still not sure
> if I've configured something wrong, if this is a bug or if this is a fairly
> undocumented change with 2.4.
>
> Regards,
> KAM



-- 
Born in Roswell... married an alien...
http://emptyhammock.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-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