[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
adding new cpan module to mod_perl / apache installation..
- Subject: adding new cpan module to mod_perl / apache installation..
- Date: Mon, 7 May 2007 17:56:08 -0700
- From: "Mark Henry" <suppressed>
Hi All,
First - noob alert - I've searched all avenues that I know of, but I'm not positive how to frame my question (being an apache/mod_perl virgin), so its possible there are still some trees un-barked up. (The 'searchable' archives link has no search option that I could find
http://mail-archives.apache.org/mod_mbox/perl-modperl/)
I've set up apache & mod_perl and all seems well.
My first step is to add NIS authentication/authorization, which I need.
This doesnt appear to come by default, so I'm planning to use this lovely looking module:
http://search.cpan.org/~speeves/Apache-AuthenNIS-0.13/AuthenNIS.pm
Sounds great.. but I'm not sure exactly under which perl install (via perl -MCPAN etc) I should be installing.. There doesn't appear to be a perl executable under my mod perl tree, and I wouldn't really expect there to be.
So, using the locally installed site perl, the CPAN installer gets to the end, says, wheres mod_perl.pm ... well it is out there under the apache tree, but I dont know how to feed it's location into the CPAN installer, and anyway if I somehow managed to, would it even be installed to the correct location for mod_perl to use?
Basically, how do you install a (what I would think of as a) 'normal' perl module into mod_perl?
Also, if anyone has any suggestions on the auth side, I'm all ears.
(This looks helpful:
http://www.math.tu-clausthal.de/~matsa/linux/apache-nis/)
Many thanks,
Mark
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.