rewriting a url with a ? in it not working

Michael Shadle mike503 at gmail.com
Sun Dec 20 13:45:06 MSK 2009


quick regexp attempt -

try escaping the ? - try \?


On Sun, Dec 20, 2009 at 2:41 AM, jimxms <nginx-forum at nginx.us> wrote:

- rewrite ^/content.php?/(\w*)/(\w*)/(\w*)$ /content/$1/$2/$3 last;
+ rewrite ^/content.php\?/(\w*)/(\w*)/(\w*)$ /content/$1/$2/$3 last;



More information about the nginx mailing list