Hello, (*Note Some of this may be considered off topic)
I was hoping someone could point me in the right direction on this.
Basically what I have is a cgi script that I want protected by htaccess.
Not a problem, but I want it to authenticate against a MySQL database. I
looked into mod_mysql_auth but it is not suitable for many reasons
(trouble compiling,breaks other things etc.). Anyway is there a way that I
use a directive in httpd.conf (using apache by the way) to have htaccess
use a perl script to authenticate and then return that back to the
htaccess for acceptance or denial? Sorry if this is either unclear or if
I should be asking this somewhere else (if so tell me and I will not
bother you folks).
On Tue, 07 Oct 2003 13:56:52 -0400, "Ryan Howe" <>
>Basically what I have is a cgi script that I want protected by htaccess.
>Not a problem, but I want it to authenticate against a MySQL database.
Not exactly what you're asking, but if you install the
Apache::Htpasswd module you can keep Apache's password file
synchronised with the user names and passwords in your MySQL database.
In other words, do it the other way around.
Ignore coming events if you wish to send me e-mail