OK, I've got it (quite simple) : <LocationMatch .xml> </LocationMatch> Thank you all for a help, case closed. Best Regards -- Piotr Pawlowski ________________________________________ From: Piotr Pawłowski [piotr.pawlowski@xxxxxxxxxxx] Sent: Monday, January 30, 2012 15:53 To: users@xxxxxxxxxxxxxxxx Subject: RE: Issue with Files and/or FilesMatch Directive Hi Nick, Thank you for the response. I thought, that 'Location' directive doesn't work for file. How it should be configured correctly to block only XML files? Thanks in advance for a help. Best Regards -- Piotr Pawlowski ________________________________________ From: Nick Kew [nick@xxxxxxxxxxxx] Sent: Monday, January 30, 2012 14:55 To: users@xxxxxxxxxxxxxxxx Subject: Re: Issue with Files and/or FilesMatch Directive On Mon, 30 Jan 2012 13:40:45 +0000 Piotr Pawłowski <piotr.pawlowski@xxxxxxxxxxx> wrote: > Currently my main goal is to block every request to *.xml file. The clue is in the name. <FilesMatch> applies to files, not to proxied requests. Get rid of the <Proxy> and <Filesmatch> sections and use <Location>. -- Nick Kew --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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