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/05/14 19:15:29 UTC

DO NOT REPLY [Bug 9076] New: - 'satisfy any' fails when no .htaccess file exists

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=9076>.
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=9076

'satisfy any' fails when no .htaccess file exists

           Summary: 'satisfy any' fails when no .htaccess file exists
           Product: Apache httpd-1.3
           Version: 1.3.24
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Auth/Access
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: mike808@users.sourceforge.net


Server Version: Apache/1.3.24 (Unix)
Server Built: May 1 2002 10:07:09
API Version: 19990320:11
Run Mode: standalone

>From the httpd.conf:
  <IfModule mod_info.c>
  <Location /server-info>
      SetHandler server-info
      Order deny,allow
      Deny from all
      Allow from 127 10 192.168
      Satisfy any
  </Location>
  </IfModule>

This is a LOCATION directive, which processes after the .htaccess directives 
have occurred. For my docroot directory, I've got an "AllowOverride All" in 
place. However, in that root directory, I do *not* have an .htaccess file.

I get a Server Error 500, and it generates an access_log entry, but no 
error_log entry.

access_log:
10.X.X.X - - [14/May/2002:11:40:20 -0500] "GET /server-info HTTP/1.1" 500
630

If I remove the "Satisfy any" clause, operation is normal. The issue is that
I don't know in advance if the user will put a .htaccess file in place
to pre-determine if I need to put a "Satisfy any" clause in the LOCATION blocks.

I don't know if "Satisfy any" requires an .htaccess file and a "Require" clause 
in it before it will work.

I think the behaviour should be that "Satisfy any" doesn't care if there is 
a .htaccess file or not (implies no condition, but not satisfied). Using 
a "Satisfy any" should always allow access if not specified by either 
.htaccess or "Allow from"

Michael.

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