httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Anton Mitterer <>
Subject [users@httpd] setting options for a single file
Date Tue, 27 Dec 2011 01:26:47 GMT

Is it possible to set options (i.e. Allow from all) for a _single_ file
while not using <Location>?

I'd like to have a default-deny policy for the whole vhost,... therefore
I have something like:
<Directory /somepath/to/my/vhosts/root>
Order allow,deny
deny from all

But I'd like to allow access for single files or dirs.

For dirs this is obviously easy, but for files (e.g. /robots.txt not (as
<Files> would match any files of that name below)

And I usually try to avoid using <Location>


View raw message