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*by jimxms - Nginx Mailing List - English
Hi All, I've just recently moved over to nginx, so please excuse my stupidity if this is a really easy one to solve. I have the following URL: www.domain.net/content.php?/section/content_title/1 which I am trying to rewrite to: www.domain.net/content/section/content_title/1 I'm using the following in my nginx config: rewrite ^/content.php?/(\w*)/(\w*)/(\w*)$ /content/$1/$2/$3by jimxms - Nginx Mailing List - English