And another thing. I've been messing with apache's database authentication mechanism and it's a piece of crap. You have to recompile a bunch of crap to even get the MySQL support, and even then, from what I've read some places, it won't even work reliably.
I think you should continue to support this module, if nothing else, then as a mockery of apache's bass-ackwards mentality. Maybe even change the name to mod_auth_mysql_that_actually_works_you_apache_wimps or something like that. I'd use it. I would tell all my friends about it. And when we run into apache people at bars, we'd poor beers down the backs of their shirts and stuff like that and laugh when they cry, "That's my best rayon!" Well, if I went to bars. Or drank.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi I am having a problem with using mod_auth_mysql with apache 2.2
I have managed to get authentication working but whenever anyone accesses the areas of the site which are protected the error log file is filled with
[error] Internal error: pcfg_openfile() called with NULL filename
and occasionally
[error] [client x.x.x.x] (9)Bad file descriptor: Could not open password \ file: (null)
The appropriate bits of the httpd.conf look like
#Stuff for Munit monitoring
ScriptAlias /monitoring/cgi "/usr/local/munin/var/www/cgi/"
Alias /monitoring "/usr/local/munin/var/www/"
<Directory /usr/local/munin/var/www/>
#mod_auth_mysql stuff
AuthName "xxxxx"
AuthType Basic
AuthBasicAuthoritative Off
AuthMySQLHost localhost
AuthMySQLDB http_auth
AuthMySQLPasswordField user_passwd
AuthMySQLUserTable http_auth_users
AuthMySqlUser xxxx
AuthMySqlPassword xxxx
AuthMySQLEnable On
AuthMySQLPwEncryption MD5
AuthMySQLAuthoritative On
require valid-user
</Directory>
<Directory /usr/local/munin/var/www/cgi>
AllowOverride none
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
Anyone have any ideas why its giving this error message
Thanks
J.
Sorry, mod_auth_mysql does not currently support Apache 2.2. This version of Apache has its own database authentication mechanism.
Spoke to a colleague and found out that we have it running with apache 2.2 due to a unofficial patch. Will experiment with apache's own db mechanism.
Thanks
j.
You might, ah, want to mention that somewhere on your front page maybe?
And another thing. I've been messing with apache's database authentication mechanism and it's a piece of crap. You have to recompile a bunch of crap to even get the MySQL support, and even then, from what I've read some places, it won't even work reliably.
I think you should continue to support this module, if nothing else, then as a mockery of apache's bass-ackwards mentality. Maybe even change the name to mod_auth_mysql_that_actually_works_you_apache_wimps or something like that. I'd use it. I would tell all my friends about it. And when we run into apache people at bars, we'd poor beers down the backs of their shirts and stuff like that and laugh when they cry, "That's my best rayon!" Well, if I went to bars. Or drank.