On Wed, 12 Mar 2003, Nick Tonkin wrote:

Answering my own question:

>
> Hey all,
>
> I just installed Apache::Status on my 2.0 server. I was disappointed to
> find that Apache::compat was loaded (along with _all_ the Apache modules).
>
> I thought it might be some code of mine so I started stripping httpd.conf
> and startup.pl. They are almost empty but Apache::compat still loads. Any
> clues?

Apache::Status does:
if (eval {require Apache::Request}) {
    $newQ ||= sub { Apache::Request->new(@_) };
}
elsif (eval {require CGI}) {
    $newQ ||= sub { CGI->new; };
}
else {
    die "Need CGI.pm or Apache::Request to operate";
}

And CGI IIRC uses Apache::compat until Stas' patch is applied.



- nick

-- 

~~~~~~~~~~~~~~~~~~~~
Nick Tonkin   {|8^)>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to