Re: mod_dbd and ssl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux