httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] Allow access only to php files
Date Tue, 06 May 2003 16:11:41 GMT

On Tue, 6 May 2003, António Rafael Paiva wrote:
> > >>----------------------------------------------------
> > >><Directory />
> > >>	Order Deny,Allow
> > >>	Deny from All
> > >></Directory>
> > >>
> > >><Directory /var/www/html>
> > >>	<FilesMatch "\.(php)$">
> > >>		Order Deny,Allow
> > >>		Allow from All
> > >>	</FilesMatch>
> > >></Directory>
> > >>
> > >><Directory /var/www/html/img>
> > >>	Order Deny,Allow
> > >>	Allow from All
> > >></Directory>

You need to look through your httpd.conf and any .htaccess files for all
the "Order", "Allow", and "Deny" directives.  Chances are you have some
directives applying further down the tree that are overriding your "Deny
from all".

Joshua.

---------------------------------------------------------------------
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