Welcome! Log In Create A New Profile

Advanced

Re: location uri wildcard

Jonathan Matthews
June 11, 2014 01:12PM
On 10 June 2014 17:31, grd2345 <nginx-forum@nginx.us> wrote:
> http://www.mysite.com/ClassScheduler.aspx
[snip]
> I basically need a wild card to detect ClassScheduler.aspx from the above
> old urls

This assumption looks wrong. Check out how location stanzas work:
http://nginx.org/r/location
Hint: locations in their simplest state just match path *prefixes* ...

Also check the first parameter that a "rewrite" takes ... consider if
you could use this functionality to avoid specifying a location
/entirely/: http://nginx.org/r/rewrite

J

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

location uri wildcard

grd2345 June 10, 2014 12:31PM

Re: location uri wildcard

B.R. June 10, 2014 01:28PM

Re: location uri wildcard

grd2345 June 10, 2014 01:33PM

Re: location uri wildcard

B.R. June 10, 2014 03:10PM

Re: location uri wildcard

grd2345 June 10, 2014 03:13PM

Re: location uri wildcard

B.R. June 11, 2014 10:02AM

Re: location uri wildcard

grd2345 June 11, 2014 11:06AM

Re: location uri wildcard

Jonathan Matthews June 11, 2014 01:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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