title: htaccess if statement
body: <p>I have the following line in my <code>.htaccess</code> file to select which version of PHP to use:</p>
  
  <pre><code>AddType x-httpd-php53 .php
  </code></pre>
  
  <p>This works great in the live environment but doesn't apply to the test environment and breaks the site.</p>
  
  <p>Is there a way I can put it in an if statement or something by IP of the server or URL of website or something so that it only comes into effect in the live environment?</p>