Welcome! Log In Create A New Profile

Advanced

Re: URL encoded URLs and regex locations

Joe Williams
May 06, 2009 04:33PM
Anyone have any ideas/suggestions? Not possible?

-Joe


Joe Williams wrote:
>
> I found this post
> (http://thread.gmane.org/gmane.comp.web.nginx.english/9526) regarding
> URL encoding, example from the email (e.g. /foo/bar%2Fbaz ->
> /foo/bar/baz). I have a regex location (location ~ /my_url*) for a
> proxy_pass, adding the '/' to the end of the upstream server gives me
> an error:
>
>> "proxy_pass" may not have URI part in location given by regular
>> expression, or inside named location, or inside the "if" statement,
>> or inside the "limit_except" block
>
> Is there any way around this, I need regex in my location and URL
> encoded URLs to work properly.
>
> Thanks.
> -Joe
>
>
>

--
Name: Joseph A. Williams
Email: joe@joetify.com
Blog: http://www.joeandmotorboat.com/
Subject Author Posted

URL encoded URLs and regex locations

Joe Williams May 05, 2009 03:14PM

Re: URL encoded URLs and regex locations

Joe Williams May 06, 2009 04:33PM

Re: URL encoded URLs and regex locations

Igor Sysoev May 07, 2009 12:47AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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