Dear Apache users,

I have Apache 2.2.3 on my test server. I have following configuration for 
testing site, which is running on Tomcat - Apache is a proxy for Tomcat:

-----
<VirtualHost testing.domain.com:80>
    DefaultType text/html
    ProxyRequests Off
    ProxyPreserveHost On
<Proxy *>
        Order deny,allow
        Allow from all
</Proxy>

ServerName testing.domain.com

ProxyPass               /scans                     http://localhost:8081/scans
ProxyPassReverse        /scans                     http://localhost:8081/scans
ProxyPass               /web                          http://localhost:8081/web
ProxyPassReverse        /web                          http://localhost:8081/web

<FilesMatch ^\.xml>
    Order deny,allow
    Deny from all
</FilesMatch>

</VirtualHost>
-----

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.

Best Regards
--
Piotr Pawlowski





---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to