Received: (qmail 28879 invoked by uid 2012); 5 May 1999 14:20:56 -0000 Message-Id: <19990505142056.28878.qmail@hyperreal.org> Date: 5 May 1999 14:20:56 -0000 From: Alain Buys Reply-To: User.Support@umh.ac.be To: apbugs@hyperreal.org Subject: incorrect messages in error_log relative to .htaccess control. X-Send-Pr-Version: 3.2 >Number: 4356 >Category: mod_autoindex >Synopsis: incorrect messages in error_log relative to .htaccess control. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed May 5 07:30:01 PDT 1999 >Closed-Date: Mon Oct 30 19:11:13 PST 2000 >Last-Modified: Mon Oct 30 19:11:13 PST 2000 >Originator: User.Support@umh.ac.be >Release: 1.3.6 >Organization: >Environment: AIX 4.1.5 Apache 1.3.6 compiled with gcc 2.7.2 to replace NCSA 1.5.2 >Description: We protect a directory with a .htaccess file which points to .htpasswd and .htgroup files. It works properly but gives error messages in the log file, like [Wed May 5 15:36:20 1999] [error] [client xxx.xxx.xxx.xxx] user alain not found: /ggg/ci/.. (Note the ending "..") This happens when trying to access the directory http://domain/ggg/ci despite the fact that the authentification works well and the contents of the directory are shown. The same message appears again each time the page is reloaded, even if no authentification is asked anymore. However, if the same is tried but a particular file is accessed, say http://domain/ggg/ci/bla.html no error message appears. The user "alain" is listed in .htgroup as a member of group "ci" and in .htpasswd. The same error message would appear with a user which would not exist (but then access is really denied). *** .htaccess in /ggg/ci *** AuthUserFile /out_the_tree/.htpasswd AuthGroupFile /out_the_tree/.htgroup AuthName ci AuthType Basic order deny,allow deny from all allow from .umh.ac.be require group ci *** .htgroup *** ci: alain yves chantal jean monique marianne ci *** .htpasswd *** alain:T..........w (...) >How-To-Repeat: This happens in a part of our site not accessible from outside. Besides the only visible effects are in the log file. >Fix: The ending ".." appearing in the error message following the directory name might be a key to understand the problem. >Release-Note: >Audit-Trail: State-Changed-From-To: open-feedback State-Changed-By: coar State-Changed-When: Wed May 5 07:50:57 PDT 1999 State-Changed-Why: Do you have an index.html file (or whatever you've specified in your DirectoryIndex directive) in the directory? If not, try putting one there. Or try giving the server's user read access to /ggg. I suspect that mod_autoindex may be getting involved. From: User Support To: coar@apache.org Cc: apache-bugdb@apache.org, apbugs@apache.org Subject: Re: general/4356: incorrect messages in error_log relative to .htaccess control. Date: Wed, 12 May 1999 09:33:56 +0200 (DFT) On 5 May 1999 coar@apache.org wrote: > > Synopsis: incorrect messages in error_log relative to .htaccess control. > > State-Changed-From-To: open-feedback > State-Changed-By: coar > State-Changed-When: Wed May 5 07:50:57 PDT 1999 > State-Changed-Why: > > Do you have an index.html file (or whatever you've > specified in your DirectoryIndex directive) in the > directory? If not, try putting one there. Or try > giving the server's user read access to /ggg. I > suspect that mod_autoindex may be getting involved. > Actually, if I put an index.html file in the directory, the message doesn't appear anymore (the same as if I would request a particular file). It is only when I really want to see the index as is that the "problem" happens. The server's user has already read access to this directory. Again, the thing works, the only funny thing is the logged message. Comment-Added-By: coar Comment-Added-When: Thu May 25 15:08:29 PDT 2000 Comment-Added: What do you see for the following: ls -lgd /ggg/ci ls -lgd /ggg ls -lgd / ? Category-Changed-From-To: general-mod_autoindex Category-Changed-By: coar Category-Changed-When: Thu May 25 15:08:29 PDT 2000 State-Changed-From-To: feedback-closed State-Changed-By: slive State-Changed-When: Mon Oct 30 19:11:12 PST 2000 State-Changed-Why: [This is a standard response.] No response from submitter, assuming issue has been resolved. >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]