You could also do something like:
grep 'Apache' /path/to/error_log
--Joe Breeden
--------------------------
Sent from my Outlook 2000 Wired Deskheld (www.microsoft.com)
> -----Original Message-----
> From: Mark Schmick [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 17, 2001 2:05 PM
> To: Adam Worrall; Mat
> Cc: [EMAIL PROTECTED]
> Subject: Re: Knowing if a apache server is compiled with mod_perl
>
>
> Adam's technique below doesn't work for me, but this does
> (assuming you
> have LWP installed):
>
> sh> HEAD -de http://<server_you're_interested_in>|grep Server:
>
> -Mark
>
> At 05:20 PM 9/17/2001 +0100, Adam Worrall wrote:
> > >>>>> "Mat" == Mat <[EMAIL PROTECTED]> writes:
> >
> > Mat> Hi everyone, I'd like to know if there is a simple
> way to find
> > Mat> if an apache server is compiled with mod_perl and
> with which
> > Mat> version.
> >
> >This does it for me:
> >
> > $ strings /some/httpd | grep 'mod_perl\/'
> >
> >The 'strings' command works under Linux and Solaris, I think
> it's fairly
> >standard ... and handy :)
> >
> > - Adam
>
>