regex rewrite problem

mpratt nginx-forum at nginx.us
Thu Jan 19 03:46:25 UTC 2012


Thanks for your reply. I had previously read that section and enclosed
them in quotes and it didn't work:
for example:

> location ~* /manufacturers/ {
> rewrite "^/manufacturers/(.{1})/(.*)$" /manufacturer/directory/$1
redirect;
> }

doesn't work. That;'s why I was so stumped. Thought I had done
everything according to that section...

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



More information about the nginx mailing list