rewriting a url with a ? in it not working

jimxms nginx-forum at nginx.us
Sun Dec 20 14:04:29 MSK 2009


Sorry, I should have said that I tried that already :(

mike Wrote:
-------------------------------------------------------
> quick regexp attempt -
> 
> try escaping the ? - try \?
> 
> 
> On Sun, Dec 20, 2009 at 2:41 AM, jimxms  wrote:
> 
> - rewrite ^/content.php?/(\w*)/(\w*)/(\w*)$
> /content/$1/$2/$3 last;
> + rewrite ^/content.php\?/(\w*)/(\w*)/(\w*)$
> /content/$1/$2/$3 last;
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,32076,32083#msg-32083




More information about the nginx mailing list