I have installed subversion 1.5.5-1 on CentOS 4.4.
I followed http://www.yolinux.com/TUTORIALS/LinuxTutorialApacheAddingLoginSiteProtection.html#NIS
I followed all the steps except I downloaded and installed “Apache2-AuthenNIS-0.15” instead of “Apache-AuthenNIS-0.13”.
I added following in /etc/opt/CollabNet_Subversion/conf/httpd.conf.
# Code for nis authentication
AuthType Basic
AuthName “Enter your login ID:”
PerlAuthenHandler Apache2::AuthenNIS
PerlSetVar AllowAlternateAuth no
require valid-user
Now, svn configuration fails with the following error:
Stopping CollabNet Subversion: Syntax error on line 128 of /etc/opt/CollabNet_Subversion/conf/httpd.conf:
Invalid command ‘PerlAuthenHandler’, perhaps misspelled or defined by a module not included in the server configuration
Starting CollabNet Subversion: Syntax error on line 128 of /etc/opt/CollabNet_Subversion/conf/httpd.conf:
Invalid command ‘PerlAuthenHandler’, perhaps misspelled or defined by a module not included in the server configuration
When I try to install mod_perl2 (mod_perl-2.0.4):
cd mod_perl-2.0.4
perl Makefile.PL
…
Please provide a full path to ‘apxs’ executable
(press Enter if you don’t have it installed): /opt/CollabNet_Subversion/bin/apxs
[ error] Unable to open /opt/CollabNet_Subversion/include/ap_release.h: No such file or directory
[ error] Unable to determine server version, aborting.
[ error] Invalid MP_APXS specified?
I can not file /opt/CollabNet_Subversion/include directory in Collabnet’s installation.
Please help.