title: apache .htaccess rewrite - can I move this into httpd.conf
body: <p>Below is the only code I have in the <code>.htaccess</code> file with apache 2.2. </p>
  
  <p>I've read that its a performance impact to use a <code>.htacess</code> and better if this this can be run out of <code>httpd.conf</code>. Therefore is it possible for me to add this into <code>httpd.conf</code>? If so where would I put it? </p>
  
  <p>Would it need to go into the VirtualHost for each Host that needed it (in my case a lot of hosts) or could it go generically into httpd.conf so it applies to all hosts?</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      RewriteEngine on
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !-l
      RewriteRule ^(.*)$ index.php?/$1 [L]
  &lt;/IfModule&gt;
  </code></pre>