title: mod_rewrite "too many redirects" problem
body: <p>Trying,</p>
  
  <pre><code>  &lt;IfModule mod_rewrite.c&gt;
    RewriteEngine On
    RewriteCond %{REQUEST_METHOD} ^TRACE
    RewriteRule .* - [F]
    RewriteCond %{HTTP_HOST} ^(.*)dev\.example\.edu$ [NC]
    RewriteRule ^/test(.*)$ http://dev.example.edu/test/index.php/test$1 [NC]
    &lt;/IfModule&gt;
  </code></pre>
  
  <p>on an apache 2.2 server, to get this rewrite working to hide the "index.php/test" part of the path.</p>
  
  <p>everything i've tried either loops the url part (index.php/test) within the address bar or gives a "too many redirects" error.</p>
  
  <p>i suspect that the "test" part of the equation being on both sides is throwing it off but am not sure how to get it to work.</p>
  
  <p>i just want:
  dev.example.edu/test/index.php/test*
  to rewrite to:
  dev.example.edu/test/*</p>
  
  <p>thanks</p>