rewrite problem

sosogh sosogh at
Tue Sep 4 02:59:40 UTC 2012

HI list
I want to redirect
This is what I  place in the "server" block in the nginx.conf
rewrite  ^/bbs/viewthread.php?tid=([0-9]+).*$   /forum.php?mod=viewthread&tid=$1 last;
but when visit
It shows 404 error.
Could anyone point me out what is wrong?
Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list