httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea Gabellini - SC <andrea.gabellini...@telecomitalia.sm>
Subject Re: [users@httpd] mod_dbd and ssl
Date Sat, 31 May 2014 15:47:12 GMT
I forgot the apache version: 2.4.9

Il 31/05/2014 13:55, Andrea Gabellini - SC ha scritto:
> Hello,
>
> I'm trying to use mod_dbd and mod_authn_dbd. I compiled apr-util with
> database support (with mysql, oracle, and both).
>
> The server fails to start!
>
> If I remove the DBDDriver the server starts and obviously it doesn't
> authenticate.
>
> If I add DBDDriver and send a 'graceful' restart, the server starts to
> authenticate against the Database. But if I stop and start the server it
> fails again!!!
>
> Removing all the SSL sites solve the problem.
>
> Any suggestions? Or I hit a bug?
>
> This is the configuration of a test virtualhost:
>
> <VirtualHost *:80>
>     DBDriver mysql
>     DBDParams "host=localhost,user=xxx,pass=xxx,dbname=xxx,sock=xxx"
>     DBDMin  4
>     DBDKeep 8
>     DBDMax  20
>     DBDExptime 300
>
>     LoadModule          dbd_module modules/mod_dbd.so
>     LoadModule          authn_dbd_module modules/mod_authn_dbd.so
>     ServerName          xxx
>     ServerAlias         xxx
>     DocumentRoot        xxx
>
>     <Directory xxx>
>         SetHandler              cgi-script
>         Options                 ExecCGI
>         AuthType Basic
>         AuthName "xxx"
>         AuthBasicProvider dbd
>         Require valid-user
>         AuthDBDUserPWQuery "SELECT pass FROM users WHERE user = %s"
>     </Directory>
> </VirtualHost>
>
>
> Thanks,
> Andrea
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message