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 に答える