httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc <marci.gm...@trash-mail.com>
Subject [users@httpd] Re: Apache ACL
Date Tue, 15 Jan 2008 12:22:18 GMT
Boyle Owen <Owen.Boyle <at> swx.com> writes:

> 
> The problem you describe has no obvious solution, so there must be
> additional config directives interfering with your setup. See notes
> below:  
> 
> > -----Original Message-----
> > From: news [mailto:news <at> ger.gmane.org] On Behalf Of Marc
> > Sent: Monday, January 14, 2008 4:46 PM
> > To: users <at> httpd.apache.org
> > Subject: [users <at> httpd] Apache ACL
> > 
> > Hello people, 
> > 
> > following issue:
> > 
> > Here is the directory layout
> > |-- dir1
> > |   |-- dir2
> > |   |   `-- dir3
> > 
> > In dir1 is a .htaccess:
> > 
> > <FilesMatch "\.php$">
> > Order Deny,Allow
> > Deny from all
> > </FilesMatch>
> > 
> > Directory dir3 contains an .htacess with "Options +Indexes" 
> > and .gif-files only.
> > 
> > If I remove the .htaccess in dir1 the directory listing is displayed.
> 
> In which dir - dir3?

Yes.

> 
> > 
> > If I keep it, the .htaccess in dir3 seems to be ignored as 
> > Error 403 (Forbidden)
> > is returned.
> 
> From what URL?

Well, from http://server_name_of_virtual_host/dir1/dir2/dir3/

> What is in the error log for this request?

I guess now I see the problem:

[error] [client 88.xx.xx.xx.xx] client denied by server configuration:
/path/to/dir3/index.php

However, there is no index.php in that directory. Alone it being mentioned in
the DirectoryIndex seems to be enough for the access to be denied :-\ Strange
behavior.

regards,
Marc


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message