title: htaccess SetEnvIf true
body: <p>If I want to set an environment variable before RewriteRules are evaluated, <a href="http://httpd.apache.org/docs/2.2/mod/mod_env.html#setenv" rel="noreferrer">I have to use <code>SetEnvIf</code> instead of <code>SetEnv</code></a>. However, <code>SetEnvIf</code> requires one to have a condition. As it is, I have:</p>
  
  <pre><code>SetEnvIf Request_Method ^ ENV=VALUE
  </code></pre>
  
  <p>Is there a better way to do this?</p>