regex rewrite problem

mpratt nginx-forum at
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
> }

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

Posted at Nginx Forum:,221410,221420#msg-221420

More information about the nginx mailing list