-----Original Message-----
From: Pete Lancashire <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, June 01, 2000 2:01 AM
Subject: how do I add a module to apache ?
>I need to add mod_auth_mysql to the RedHat 6.2 apache RPM.
>
>But mod_auth_perl wants me to add to the apache configuration
>file and recompile
>
>is there a easier way ?
There is a help file on the mod_auth_mysql ftp site. To summarize:
1. Build the module using apxs. You will need to have the headers and
libraries for MySQL installed. For RedHat, with MySQL in the typical
location, the syntax would be:
apxs -c -L/usr/lib/mysql -lmysqlclient -lm mod_auth_mysql.c
2. Copy the resulting mod_auth_mysql.so to /etc/httpd/modules.
3. Add the following lines to /etc/httpd/conf/httpd.conf:
LoadModule mysql_auth_module modules/mod_auth_mysql.so
AddModule mod_auth_mysql.c
Restart Apache and you should be ready to go.
Brian
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.