[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mysql
Subject:    Re: authentication
From:       Van <vanboers () server ! dedserius ! com>
Date:       1999-07-20 0:01:25
[Download RAW message or body]

Louis van Dompselaar wrote:
> 
> >  I have this as my .htacces file and I specifed Auth-MySQL_Info and
> > Auth_MySQL_General_DB in the in the httpd.conf file, the prompt comes up
> > and asks me for my password and username but says authentication failed,
> > does anyone know what I may be doing wrong??????????
> 
> The default for auth_mysql is to require UNIX DES encrypted passwords
> in your DB.  You might not have that.
> 
> --
> Louis van Dompselaar                        louis@sitebysite.nl
> Raster / Site by Site     Franciscusweg 341, 1216 SL  Hilversum
> Tel: 035 622 1313  fax: 035 622 0606  http://www.sitebysite.nl/
> 

Louis,
Try this in httpd.conf
Auth_MySQL_General_DB http_auth
This in .htaccess
AuthName "Name You Want To See in Pop-Up Login Thingy"
Auth_MySQL_Encryption_Types MySQL Plaintext
Auth_MySQL_DB http_auth
AuthType Basic
<Limit GET POST>
        require group SomeGroupName
</Limit> 

That should do the trick.
Van
-- 
=========================================================================
Linux rocks!!!   http://www.dedserius.com
=========================================================================

---------------------------------------------------------------------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail mysql-thread7803@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail mysql-unsubscribe@lists.mysql.com instead.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic