title: Apache SetEnv prepends REDIRECT_ . What gives?
body: <p>For an application based on Zend Framework I use apaches <code>SetEnv</code> in <code>.htaccess</code>. I use this on test, staging and production servers like so:</p>
  
  <pre><code>SetEnv APPLICATION_ENVIRONMENT production
  </code></pre>
  
  <p>On the staging server I couldn't read this env var in PHP. However when I did a <code>var_dump( $_ENV )</code> in php I got the value but the key was prepended with <code>REDIRECT_</code> becoming </p>
  
  <pre><code>REDIRECT_APPLICATION_ENVIRONMENT
  </code></pre>
  
  <p>Can anybody explain why this is happening, and how I can prevent this?</p>