php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3816 HTTP authentication
Submitted: 2000-03-13 07:25 UTC Modified: 2002-09-30 17:50 UTC
From: feo at ttn dot ru Assigned:
Status: Not a bug Package: Other
PHP Version: 3.0.15 OS: FreeBSD 3.4
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: feo at ttn dot ru
New email:
PHP Version: OS:

 

 [2000-03-13 07:25 UTC] feo at ttn dot ru
My Apache 1.3.9 configured with Basic type of authentication

http.conf

<Directory />                                                                                       
    Options -All                                                                                    
    AllowOverride None                                                                              
    Order allow,deny                                                                                
    AuthGroupFile /usr/local/apache/private/httpgroup                                               
    AuthUserFile /usr/local/apache/private/httppasswd                                               
    AuthName "DENY"                                                                                 
    AuthType Basic                                                                                  
    satisfy any                                                                                     
</Directory>

<Directory /usr/local/www/localhost>                                                                
    Options +All -ExecCGI                                                                           
    AuthName "Web server FEO LocalHost"                                                             
    require group admins                                                                            
    AllowOverride Options Limit AuthConfig                                                          
</Directory>

end of httpd.conf

Authentication through Apache passed ok.
And I use phpMySQLadmin with advanced authorization.
http://phpwizard.net/phpMyAdmin/

When I try to login to phpMyAdmin it tells me
Authorization failed. Retry?

MySQL log tells:

Query      SELECT User, Password, Select_priv FROM user where User = 'root' 
AND Password = PASSWORD('');

Password is empty!!!

I reports because with PHP4 beta3 and 4pl1 it is working!

PHP configure line:

./configure --with-apache=../apache_1.3.9rusPL29.2 \                                                
  --with-system-regex --with-config-file-path=/usr/local/apache/conf \                              
  --with-pgsql=/usr/local/pgsql \                                                                   
  --enable-safe-mode --enable-track-vars --with-mysql



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-30 17:50 UTC] hholzgra@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

as stated in your report it works in php4
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC