Welcome! Log In Create A New Profile

Advanced

Re: How to catch a request that has a given word in url?

August 09, 2010 06:00AM
On Mon, Aug 09, 2010 at 11:53:30AM +0200, Fernando Perez wrote:

> > Place
> >
> > location ~ /WORD/ {
> > ...
> > }
> >
> > as the first location in a server.
>
> I have placed as the first location of my server:
>
> location ~ /WORD/ {
> internal;
> root ...
> }
>
> But it still gets served directly by nginx. I'd like to use it with
> X-Accel-Redirect, but first I need to make sure that people can't access
> these files directly.

Could you create a debug log of the request:
http://nginx.org/en/docs/debugging_log.html
?


--
Igor Sysoev
http://sysoev.ru/en/

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

How to catch a request that has a given word in url?

Fernando Perez August 09, 2010 05:22AM

Re: How to catch a request that has a given word in url?

Igor Sysoev August 09, 2010 05:24AM

Re: How to catch a request that has a given word in url?

Fernando Perez August 09, 2010 05:58AM

Re: How to catch a request that has a given word in url?

Igor Sysoev August 09, 2010 06:00AM

Re: How to catch a request that has a given word in url?

Fernando Perez August 09, 2010 06:02AM

Re: How to catch a request that has a given word in url?

Igor Sysoev August 09, 2010 06:12AM

Re: How to catch a request that has a given word in url?

Fernando Perez August 09, 2010 06:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 198
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