Help with redirect

Chris Savery chrissavery at gmail.com
Wed Aug 20 18:28:53 MSD 2008


I had a similar situation. I think you can do something as simple as,

rewrite   ^/archive/index.php  /archive/index.php/$query_string;


Mick Dd wrote:
> Hi there i am running vbulletin and i am having a problem due to the way
> that nginx displays clean urls.
>
> Basically the archive looks like this on nginx
>
> http://www.digitalworldz.co.uk/archive/index.php?f-354.html
>
> But i need it to look like this (taking the ? and putting the /)
>
> http://www.digitalworldz.co.uk/archive/index.php/f-354.html
>
> I have tried to write the rewrite code from other parts on the internet
> but have no luck at all and also asked on vbulletin mod site and the
> official site but it seems that suppport for nginx is not so popular as
> apache :(
>
> Thanks in advance if anyone can help me out.
>
> Mickie
>   






More information about the nginx mailing list