title: How to make Apache load different .htaccess files based on hostname
body: <p>Is there a way for Apache to load a different .htaccess file based upon hostname?</p>
  
  <p>For example, for a web server that has 2 hostnames (<strong>example1.com</strong> and <strong>example2.com</strong>) that share the same web directory, it is possible to make Apache load <code>/.1-htaccess</code> when a user visits example1.com, but <code>/.2-htaccess</code> for example2.com?</p>
  
  <p>Note: this is intended to avoid using the HTTP_HOST <code>RewriteCond</code> rewrites.</p>