title: RewriteCond with SetEnv
body: <p>In my <code>.htaccess</code> I set:</p>
  
  <pre><code>SetEnv APPLICATION_ENV development
  </code></pre>
  
  <p>And I want to check if <code>APPLICATION_ENV</code> equals <code>development</code> then run <code>app_dev.php</code>, otherwise <code>app.php</code></p>
  
  <pre><code>SetEnv APPLICATION_ENV development
  
  RewriteCond %{ENV:APPLICATION_ENV} development
  RewriteRule .? %{ENV:BASE}/app_dev.php [L]
  RewriteRule .? %{ENV:BASE}/app.php [L]
  </code></pre>
  
  <p>However it does not work - always runs <code>app.php</code> script. How should I fix it ?</p>