title: trace infinite loop redirection in apache
body: <p>I have a PHP script causing a infinite redirection loop and i don't know how to detect it. is there any way to detect this? can i add any command to my .htaccess to write redirections into a log?</p>
  
  <p>thanks in advance,</p>