$request_uri

Gena Makhomed gmm at csdoc.com
Thu Feb 5 11:53:30 MSK 2009


On Thursday, February 5, 2009 at 10:22:41, Alexey V. Karagodov wrote:

AVK> rewrite ^ http://$host$request_uri permanent;

- rewrite ^ http://$host$request_uri permanent;
+ rewrite ^ http://$host$request_uri? permanent;

"Since $request_uri already includes query string,
it's important to add '?' to prevent duplication of query string."

-- 
Best regards,
 Gena






More information about the nginx-ru mailing list