mod_perl2 and Apache::AuthenNIS
Wednesday, April 18th, 2007This has been a thorn in my side 3 times now while at work: how to get the aging Apache::AuthenNIS mod_perl module ported to work with mod_perl2 and Apache2. There is a slightly helpful thread here, but it didn’t fully help me. Eventually, I figured it: you have to port the module form within CPAN, then install it.
Here’s what I did:
-
perl -MCPAN -e 'shell'
-
get Apache::AuthenNIS
-
look Apache::AuthenNIS
- Replace AuthenNIS.pm with Patched Apache::AuthenNIS.
-
exit
-
install Apache::AuthenNIS
From there, you follow the rest of the tutorial on Apache and NIS authentication here.
Hopefully this information is helpful to someone out there doing a Google search.
