satisfy all
Igor Sysoev
is at rambler-co.ru
Mon Nov 16 22:37:23 MSK 2009
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;
}
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list