httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] DBD and MySQL: No DBD Authn configured!
Date Wed, 04 Jul 2007 16:53:48 GMT
On Wed, 04 Jul 2007 10:23:44 -0600
Aaron Dalton <aaron@daltons.ca> wrote:

> .  The problem is that everytime I try to
> authenticate I get a 500 error and the following log entry: "No DBD
> Authn configured!"

That's not the message you get if the driver isn't configured (unless
there are other messages you've omitted).


> DBDriver        mysql
> DBDParams       "host=sqlserver dbname=** user=** pass=**"

[chop]

> <VirtualHost>
>    <Directory>
>          AuthType        Basic
>          AuthBasicProvider dbd
>          AuthDBDUserPWQuery "SELECT password FROM users WHERE
> username=%s" AuthName         "Super Duper Games"
> 
>          <limit PUT POST DELETE>
>                  Require         valid-user
>          </limit>
>    </Directory>
> </VirtualHost>

Does it make any difference if you put the DBD* directives inside the
<VirtualHost> container?


-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message