Welcome! Log In Create A New Profile

Advanced

trouble changing uri to query string

September 15, 2014 07:58AM
i have a url looking as such:  mysite.com/some/path/rest/v2/giveit.view&user=282&imageid=23&size=80

 i want the cache key to match imageid=23&size=80 without the "user" part.



$args isn't matching because incoming url lacks the "?" part, so $uri is detected as mysite.com/some/path/rest/v2/giveit.view&imageid=23&size=80


Is there a way i could force nginx to detect that query string, or rewrite/set the args on each request ?


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

trouble changing uri to query string

dnalor September 15, 2014 07:58AM

Re: trouble changing uri to query string

Francis Daly September 17, 2014 03:18AM

RE: trouble changing uri to query string

dnalor September 21, 2014 09:42AM

Re: trouble changing uri to query string

Francis Daly September 24, 2014 08:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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