Or you could do:
perl -nle 'print "$_\n" if m/mod_perl/' /path/to/error_log
where /path/to/error_log is the file pointed at by the ErrorLog directive in
you httpd.conf file.
--Joe Breeden
--------------------------
Sent from my Outlook 2000 Wired Deskheld (www.microsoft.com)
> -----Original Message-----
> From: Steven Lembark [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 17, 2001 3:07 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Knowing if a apache server is compiled with mod_perl
>
>
>
>
> -- Mat <[EMAIL PROTECTED]>
>
> > Hi everyone,
> > I'd like to know if there is a simple way to find if an
> apache server
> > is compiled with mod_perl and with which version. My aim is
> to write a
> > script which compile mod_perl if it is not installed.
> For the moment
> > I've found only two ways, launch the actual server and
> telnet it to parse
> > the server signature. But it has the disadvantages of
> having the Apache
> > server running and the server signature on. The other
> way would be to
> > get the return of httpd -v, but I won't have the version
> and I think this
> > won't work if the module is compiled in dso. So is it
> possible from
> > the Apache binary to check mod_perl ?
>
> If the server is compiled w/ mod_info check that for mod_perl.
>
> --
> Steven Lembark
> 2930 W. Palmer
> Workhorse Computing
> Chicago, IL 60647
>
> +1 800 762 1582
>