On Mon, Nov 16, 2009 at 12:43:58PM -0600, Rob G. wrote:
How do we make this work with nginx? I'm mostly just not sure about the satisfy all part. Also, do you think that would deny access to things like google site maps?
<Files ~ "\.xml$">
Order allow,deny
Deny from all
Satisfy all
</Files>
The first location in server section:
location ~ \.xml$ { deny all; satisfy all; # default }
or
location ~ \.xml$ { return 403; }