Help with redirect

Mick Dd lists at ruby-forum.com
Thu Aug 21 00:08:18 MSD 2008


Chris Savery wrote:
> Well, you would in that case since the new path doesn't exist. I see now
> you want backwards from that as I misinterpreted the direction of
> conversion in your original question. You want requests without the
> query string to be converted into a query string. That is actually
> opposite to my case so I would make a guess that it should be more like,
> 
> rewrite  ^/archive/index.php/(.*)$  /archive/index.php?$1
> 
> But I could easily be wrong. That should be close though. You'd have to
> try it out and adjust as works.
> Chris :)

thanks again chris for the help.

But i still cannot seem to get it to work i have tried different ways of 
putting the dir but still nothing happens :(

but i do appreciate the time you are spending helping me.

Mick

-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list