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
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.


Reply With Quote
