Apache authentication and Nagios

Mike McClure mmcclure at pneservices.com
Fri Dec 13 07:05:15 CET 2002


Hi Stanley,

>
> mod_perl is available from www.apache.org (mod_perl link I think). It is
> a substantial set of patches and Perl to rebuild a Perlified apache from
> the Apache source (so unless you get a prebuilt apache + mod_perl, you
> need the Apache source as well).
>
> Here is what Apache looks like with it mod_perl :-
>
> tsitc> /usr/local/apache/bin/httpd -l
> Compiled-in modules:
>   http_core.c
>   mod_so.c
>   mod_perl.c
> suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
> tsitc>
>
> You can also get prebuilt apache + mod_perl (eg FreeBSD packages, must
> be RPMs etc).
>

Actually, an easier way is to build mod_perl as a DSO (Dynamic Shared Object) and
load it as a module at run-time.  That way, you don't have to rebuild Apache, and
you shouldn't even need the source code.

You might need to add something like this to httpd.conf:

LoadModule perl_module        /usr/lib/apache/modules/mod_perl.so

- Mike

-- 
Mike McClure, CCIE # 5125, CISSP # 30232
PNE Services, Inc. -  http://www.pneservices.com
mmcclure at pneservices.com
mobile: 913-636-5590



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/




More information about the Users mailing list