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] Odd problem with mod_authn_dbd and mysql
Date Sat, 03 Feb 2007 12:47:28 GMT
On Sat, 3 Feb 2007 03:06:02 -0500
Ed Poe <thinman@malted.net> wrote:

> And the following global config:
> DBDriver mysql
> DBDParams "host=localhost user=<redacted> pass=<redacted>  
> dbname=<redacted>"
> DBDPrepareSQL "SELECT encrypt(password) FROM <redacted> WHERE  
> login_id = %s" passquery
> DBDPersist off
> 
> 
> And the vhost looks like this:
> <VirtualHost *:80>
>          ServerName blog.<redacted>.com
>          <Directory "/home/httpd/blog/wordpress">
>                  AuthType Basic
>                  AuthName "Redacted Technology"
>                  AuthBasicProvider dbd
>                  AuthDBDUserPWQuery passquery

That'll fail because "passquery" here is a literal.
The label you defined above works at a different level,
and is irrelevant here.

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