You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/08/28 22:07:11 UTC

DO NOT REPLY [Bug 12138] New: - AuthUserFile ignored

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12138>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12138

AuthUserFile ignored

           Summary: AuthUserFile ignored
           Product: Apache httpd-1.3
           Version: 1.3.26
          Platform: PC
               URL: http://www.sino.uni-heidelberg.de
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Auth/Access
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: sass@gw.sino.uni-heidelberg.de


After one day with quite a simple problem, I came to the conclusion, that 
there must be a bug in the apache version 1.3.26, (which had come with 
debian woody): We are no longer able to install a propper ".htaccess" file. 
While the webserver seems to interpretate the .htaccess-file, giving the 
right realm-name when asking for the password, it ignores the line 
"AuthUserFile". We are quite sure that all of our configuration is correct. 
But when one tries to login to the secured directory, the error-log says, 
that it could not find the user in the directory, where .htaccess was, -in 
spite of usiing the information in the AuthUserFile-line.
We have no idea about the reasons.
Best regards,
Oliver Sass

ps. this is your configuration

httpd.conf:
<Directory /usr/local/httpd/htdocs>
    Options Indexes Includes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

.htaccess:
AuthName        restricted
AuthType Basic
AuthUserFile /to/the/dir/.htpasswd
<Limit GET>
require user tester
</Limit>

And this is a line from the errorlog:
[error] user tester not found: /realative/linkto/htaccess/

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