title: Need htaccess redirect for subdomain
body: <p>I have a subdomain qa.test.com and codeigniter is installed on that subdomain, however I can't seem to get rid of the index.php in the url with this rule in .htaccess</p>
  
  <pre><code>RewriteEngine On
  RewriteCond $1 !^(index\.php|public|user_guide|robots\.txt)
  RewriteRule ^(.*)$ /index.php?/$1 [L]
  </code></pre>
  
  <p>Can someone help me with removing index.php from a subdomain type url.</p>
  
  <p>Figured it out I did not have mod_rewrite enabled</p>
  
  <p>sudo a2enmod rewrite and then restart apache</p>