atom feed2 messages in ru.sysoev.nginxRe: satisfy all
FromSent OnAttachments
Rob G.Nov 16, 2009 10:43 am 
Igor SysoevNov 16, 2009 11:37 am 
Subject:Re: satisfy all
From:Igor Sysoev (is@rambler-co.ru)
Date:Nov 16, 2009 11:37:00 am
List:ru.sysoev.nginx

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