title: Why is $_SERVER['PATH_TRANSLATED'] repeating itself?
body: <p>I'm trying to create a MVC framework when I noticed the $_SERVER['PATH_TRANSLATED'] variable is doing this:</p>
  
  <blockquote>
    <p>[PATH_INFO] => /test/test2/test3<br />
    <strong>[PATH_TRANSLATED] => redirect:/index.php/test/test2/test3/test2/test3</strong></p>
  </blockquote>
  
  <p>This is when I'm accessing the PHP file by <a href="http://domain.tld/test/test2/test3" rel="nofollow noreferrer">http://domain.tld/test/test2/test3</a><br />
  Notice how it is repeating after /test/</p>
  
  <p>This is my .htaccess for rewriting:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php/$1 [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>Any ideas? I tried changing the RewriteRule rule around but nothing changed. The variable isn't that important for what I am trying to do however, I am wondering why this is happening and if I have something misconfigured.</p>
  
  <p><strong>Server Info:</strong><br />
  Apache/2.2.3<br />
  PHP 5.3.1</p>
  
  <p><strong>Edit:</strong> This variable doesn't repeat itself under Lighttpd, as it reports:</p>
  
  <blockquote>
    <p>[PATH_INFO] => /test/test2/test3<br />
    [PATH_TRANSLATED] => /home/kramer/public_html/test/test2/test3</p>
  </blockquote>
  
  <p>So I am assuming it has something to do with Apache. I also tried FastCGI under Apache and it produced the same repeating result.</p>