Re: setting options for a single file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 26, 2011 at 8:26 PM, Christoph Anton Mitterer
<calestyo@xxxxxxxxxxxx> wrote:
> Hi.
>
> 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
> <Direcotry>
>
> 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)

nest Files inside of Directory.

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux