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;