httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] FilesMatch does nothing
Date Mon, 09 May 2011 13:21:15 GMT
On Mon, May 9, 2011 at 9:13 AM, S├ębastien Moretti
<sebastien.moretti@unil.ch> 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@gmail.com

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