Re: Re: mod dbd mysql

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

 



Hi.

I'm using libapache2-mod-auth-mysql ( debian "etch" package ) and the 
configuration is very different from yours. This is my'n:

        <Directory /home/www/>
                AuthName "Tiltott konyvtar !!"
                AuthType Basic
                AuthUserFile /dev/null
                AuthBasicAuthoritative Off
                Auth_MYSQL on
                Auth_MySQL_Authoritative off

                Auth_MySQL_Host localhost
                Auth_MySQL_DB apache
                Auth_MySQL_Username apache
                Auth_MySQL_Password mylongpassword

                Auth_MySQL_Password_Table auth
                Auth_MySQL_Username_Field username
                Auth_MySQL_Password_Field passwd

                Auth_MySQL_Encrypted_Passwords Off
                Auth_MySQL_Non_Persistent On
                Auth_MySQL_Empty_Passwords Off

                require valid-user

                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
        </Directory>



2007. május 9. 01.09 dátummal Quey ezt írta:
> I saw a post a week ago on someone having trouble with getting MySQL
> working with dbd in Virtualhosts with apache 2.2.4,  look like you and I
> have same problem, did you get it resolved? Can anyone help? Apache tells
> me no authn configured but we do have it configured, we are needing this
> for users webmail.
>
> in my httpd.conf I have this (maybe it is wrong?)
>
> DBDriver mysql
> DBDParams "host=10.7.7.19 dbname=sqlmail user=sqmadm pass=XXXXXXXXX"
> DBDPersist off
>
>
> <Directory /var/www/hosts/webmail>
>  AuthName "WebMail"
>  AuthType Basic
>  AuthBasicProvider dbd
>  AuthDBDUserPWQuery "SELECT upass FROM user WHERE ename = %s"
>  Require valid-user
> </Directory>
>
> It connects to MySQL but does no query? Am I forgetful in something
> command?
>
> Please help.
>
>
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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