0

I have the rewrite code as shown below. I'm trying to do a sort of SEF reversal. This is a quick fix till i can figure out a better way to do this in my application. Obviously, this leads to an internal redirect cycle?.

Can someone please help me correct this or at least explain why its leading to a redirect cycle.

rewrite ^/tools/app/(.*)$ /tools/app?action=$1;

4

1 回答 1

0

您可能需要在行尾添加一个中断

rewrite ^/tools/app/(.*)$ /tools/app?action=$1 break;
于 2013-07-01T03:23:32.160 回答