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] Issue with Files and/or FilesMatch Directive
Date Mon, 30 Jan 2012 13:52:24 GMT
> Currently my main goal is to block every request to *.xml file. For this purposes I've
created "FilesMatch" rule, which is present at the end of the above configuration.
> Unfortunately it doesn't work, I have still access to xml files across server.
> Where I am making a mistake? What is wrong with above configuration?
> Thank you in advance for any help.


<Files> applies to content served out of the filesystem only, and you
did not actually have a .+ or .* in your regex.

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