We have a requirement for auth_mysql to be compiled into Apache to use htaccess prompts to authenticate against a MySQL Database.
The apache module required is: auth_mysql.
Some pages have suggested using a2enmod auth_mysql however I want to know if Iworx have a better way, or if anyone has already done it and if so, what did you do?
5.) Then I tested my config to make sure everything was happy:
httpd -t
At this point, you should be all set to configure mod_auth_mysql. You may need to install mysql-devel and apr-util-devel.
While we don’t technically support any 3rd-party Apache modules clients may install, there’s nothing incredibly special about the version of Apache that is installed on an InterWorx box. So, typically, using /usr/sbin/apxs to build the module (which most Apache 2.x modules support) is my preferred way of building modules.