Matt,

I'm running Apache 2.2 on a Debian Etch machine with
libapache2-mod-auth-mysql modified as per my patch in an (almost)
production environment with no hassles or issues to report.

To make the package work properly for Apache 2.2, you will also need
to modify the documentation (USAGE) as follows:

=== ORIGINAL ===
Create a .htaccess file in the directory you want to protect (or put the
directives inside a Directory section in httpd.conf) with something like the
following:

AuthName "My Company's Financial Information - Top Secret"
AuthType Basic
require valid-user
=== NEW ===
Create a .htaccess file in the directory you want to protect (or put the
directives inside a Directory section in httpd.conf) with something like the
following:

AuthName "My Company's Financial Information - Top Secret"
AuthType Basic
AuthBasicAuthoritative off
require valid-user
=== END ===

(I'm certain that there are better ways to do this, but this is a one
line fix which works.)

Otherwise you'll constantly end up getting "Cannot open password file"
and MySQL won't even be tried.

I also have a version of mod-auth-mysql which is partly converted to
the auth{n|z} system, but due to getting the current module working
with minor patching and the config line, this is stalled until further
interest is generated. I have user authentication working and need to
do group auth. Note that these changes will not break Apache 1.3
support.

Thanks,

--

Julian Calaby

Email: [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to