Welcome! Log In Create A New Profile

Advanced

Re: location regex issue

Boyko Yordanov
April 15, 2011 05:24AM
On Apr 15, 2011, at 12:18 PM, Edho P Arief wrote:

>> I have the following location config:
>>
>> location ~* (^/browse/$) {
>>
>> And this seems to catch URls like /browse/?page=35 and similar.
>>
>> In my understanding the $ (end of line) symbol should make this location work only for /browse/ and nothing more.. or am I wrong?
>>
>
> anything past ? (and ? itself) is argument hence not checked when
> matching location block.

Got u, thanks!

Then how am I supposed to achieve what I'm after? I need to make this location work for /browse/ only and not for /browse/?args

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

location regex issue

Boyko Yordanov April 15, 2011 05:14AM

Re: location regex issue

edogawaconan April 15, 2011 05:20AM

Re: location regex issue

Boyko Yordanov April 15, 2011 05:24AM

Re: location regex issue

edogawaconan April 15, 2011 05:30AM

Re: location regex issue

Boyko Yordanov April 15, 2011 05:40AM

Re: location regex issue

Igor Sysoev April 15, 2011 06:04AM

Re: location regex issue

Boyko Yordanov April 15, 2011 06:20AM

Re: location regex issue

Boyko Yordanov April 15, 2011 07:14AM

Re: location regex issue

Igor Sysoev April 15, 2011 07:26AM

Re: location regex issue

Igor Sysoev April 15, 2011 07:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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