Welcome! Log In Create A New Profile

Advanced

Re: [ASK] Restrict direct link file access

August 17, 2010 09:58PM
On Tue, 2010-08-17 at 17:38 -0700, antituhan wrote:
> If I put the deny rules on a root directive, the rule will blocked all
> access.

Not a root location, a root *directive*:

http://wiki.nginx.org/NginxHttpCoreModule#root

Since you now get 404's for authorized clients, then it appears you are
not properly setting your root for this location.


> But I just want to block the specified extension. :( I've tried many
> regular expression, but I can't find the right one :(



--


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

[ASK] Restrict direct link file access

antituhan August 13, 2010 01:54PM

Re: [ASK] Restrict direct link file access

edogawaconan August 13, 2010 07:06PM

Re: [ASK] Restrict direct link file access

antituhan August 16, 2010 01:12AM

Re: [ASK] Restrict direct link file access

Cliff Wells August 16, 2010 06:38AM

Re: [ASK] Restrict direct link file access

antituhan August 16, 2010 01:32PM

Re: [ASK] Restrict direct link file access

Cliff Wells August 16, 2010 05:56PM

Re: [ASK] Restrict direct link file access

antituhan August 17, 2010 08:42PM

Re: [ASK] Restrict direct link file access

Cliff Wells August 17, 2010 09:58PM

Re: [ASK] Restrict direct link file access

Igor Sysoev August 18, 2010 03:00AM

Re: [ASK] Restrict direct link file access

antituhan August 18, 2010 11:58PM

Re: [ASK] Restrict direct link file access

antituhan August 16, 2010 01:38PM

Re: [ASK] Restrict direct link file access

Ensiferous August 16, 2010 06:01PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 224
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready