My customer needs (for some reason) to use a compied version of apache and not the default that comes with RHEL5.5.
In order to install the crowd module I've downlowded the RPM for RHEL5.5.
the apache install is at /usr/local/apache
I've "opened" the RPM (rpm2cpio mod_authnz_crowd-2.0.1-1.x86_64.rpm | cpio -imvd) and copied the modules (modules/mod_authnz_crowd.so and mod_authz_svn_crowd.so) to /usr/local/apache/modules.
the scriplet inside the rpm is using apxs to compiile and updated httpd.conf. I've made sure to use the right apxs:
# ./bin/apxs -e -a -n authnz_crowd mod_authnz_crowd.so
[activating module `authnz_crowd' in /usr/local/apache/conf/httpd.conf]
as you can see its installed correctly and httpd.conf was updated correctly:
#grep crowd conf/httpd.conf
LoadModule authnz_crowd_module modules/mod_authnz_crowd.so
when I started apache, I can see the module:
# ./bin/apachectl -k start
[Tue Dec 27 07:08:09 2011] [notice] mod_authnz_crowd 2.0.1 installed.
# ./bin/httpd -M|grep crowd
[Tue Dec 27 07:08:28 2011] [notice] mod_authnz_crowd 2.0.1 installed.
so all is loaded and working.
however, when I add authentication to httpd.conf:
AuthName "Please enter your NT account information"
and just try to verify the httpd.conf syntax, I get:
# ./bin/apachectl -t
[Tue Dec 27 07:09:36 2011] [notice] mod_authnz_crowd 2.0.1 installed.
Syntax error on line 161 of /usr/local/apache/conf/httpd.conf:
Invalid command '\xc2\xa0', perhaps misspelled or defined by a module not included in the server configuration
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG