httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From S├ębastien Moretti <sebastien.more...@unil.ch>
Subject Re: [users@httpd] FilesMatch does nothing
Date Mon, 09 May 2011 13:38:19 GMT
>>>> 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.
>

I mainly take care of access control issues at the OS level and use
FileMatch or LocationMatch for HTTP header issues.

But I have definitely to take care of that.

Thanks again

-- 
S├ębastien Moretti

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