httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meir Yanovich <>
Subject [users@httpd] Apache and mod_dbd Getting "DBD: mod_dbd not compatible with APR in get_driver"
Date Sat, 03 Sep 2011 16:24:21 GMT
Im tring to implement basic authentication with Apache server and
plugin's the proxy part working great but when i try to preform
request that suppose to trigger the mod_authn_dbd and its dependency's
im getting this error:
[Sat Sep 03 17:42:38 2011] [error] (OS 126)The specified module could
not be found. : DBD: failed to initialise [Sat Sep 03 17:42:38 2011]
[error] [client] Failed to acquire database connection to
look up user 'admin'
here is my configuration :
    ServerAdmin ed_mann@dont_spam_me.ok
    DBDriver mysql
    DBDParams "host=localhost port=3306 dbname=test user=root pass=root"

    DBDMin 1
    DBDKeep 8
    DBDMax 20
    DBDExptime 300

    <Proxy http://localhost:8080/jsp-examples/>
        Order Allow,Deny
        Allow from all
    AuthType basic
        AuthName "private area"
        AuthBasicProvider dbd
       # core authorization configuration
      Require valid-user

       # mod_authn_dbd SQL query to authenticate a user
       AuthDBDUserPWQuery \
       "SELECT password FROM users WHERE name = %s"
    RewriteEngine On
    RewriteRule ^(.*)$ http://localhost:8080/jsp-examples/$1 [P]

    DocumentRoot "D:/cpp/Projects/Game/workspace"
    ServerName localhost
    ErrorLog logs/dev30-error.log
    CustomLog logs/dev30-access.log common

    <Directory ""D:/cpp/Projects/Game/workspace">
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    # The Options directive is both complicated and important.  Please see
    # for more information.
    Options Indexes FollowSymLinks

    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    AllowOverride None

    # Controls who can get stuff from this server.
    Order allow,deny
    Allow from all



what im doing wrong ? mysql is working (phpMyadmin working great) and
apache proxy working great .

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message