Re: Knowing if a apache server is compiled with mod_perl

2001-09-18 Thread Steven Lembark
-- 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

RE: Knowing if a apache server is compiled with mod_perl

2001-09-18 Thread Joe Breeden
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

Knowing if a apache server is compiled with mod_perl

2001-09-17 Thread Mat
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

Re: Knowing if a apache server is compiled with mod_perl

2001-09-17 Thread Ron Beck
You want to parse through the info returned from... httpd -l For example, here's my httpd -l... trex% httpd -l Compiled-in modules: http_core.c mod_env.c mod_log_config.c mod_mime.c mod_negotiation.c mod_status.c

Knowing if a apache server is compiled with mod_perl

2001-09-17 Thread Adam Worrall
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

Re: Knowing if a apache server is compiled with mod_perl

2001-09-17 Thread Mark Schmick
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

RE: Knowing if a apache server is compiled with mod_perl

2001-09-17 Thread Joe Breeden
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: