Re: FilesMatch does nothing

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

 



On Mon, May 9, 2011 at 9:13 AM, Sébastien Moretti
<sebastien.moretti@xxxxxxx> wrote:
>>> Hi
>>>
>>> I run several servers and sometimes for some of them, directives in
>>> FilesMatch seem never to be executed.
>>>
>>> Problems come when apache is the frontend of other servers such as tomcat
>>> or
>>> play framework, through mod_jk or mod_proxy.
>>
>> In Apache terms, these requests don't match any Directory or Files
>> containers because they're not mapped to any Directory or file.
>> Pieces of the URL aren't files.
>>
>> Use Location/LocationMatch.
>
> I should use LocationMatch everywhere, it will be less ambiguous for my
> mind.
>
> Thanks Eric
>

FWIW -- The manual cautions against this, since you might accidentally
expose a resource on a 2nd URL (or via some 'equivalent URL?') and
have access control mis-applied.


-- 
Eric Covener
covener@xxxxxxxxx

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