title: Error 403 forbidden error in localhost caused for htaccess
body: <p>I wanted to develop in php + mySql with MacOX resources, not MAMP.</p>
  
  <p>The problem arises when I use. Htaccess. I tried the same I use in MAMP, WAMP and production servers, which have never given problems so I think it must be a configuration error. 
  Everything works fine until I include the htaccess. It throws a 403 Forbidden error and tells me I have no permissions. If I delete the htaccess everything works fine.</p>
  
  <p>Any advice? </p>
  
  <p>I followed this tutorial for installación.</p>
  
  <p><a href="http://coolestguidesontheplanet.com/get-apache-mysql-php-phpmyadmin-working-osx-10-9-mavericks/" rel="nofollow">http://coolestguidesontheplanet.com/get-apache-mysql-php-phpmyadmin-working-osx-10-9-mavericks/</a> </p>
  
  <p>Thank you very much</p>
  
  <hr>
  
  <p>Hi and thanks! I have partly solved!</p>
  
  <p>My htaccess:</p>
  
  <pre><code>RewriteEngine On
  RewriteCond% {REQUEST_URI} ^ / system. *
  RewriteRule ^ (. *) $ Index.php? / $ 1 [L]
  RewriteCond% {REQUEST_FILENAME}!-F
  RewriteCond% {REQUEST_FILENAME}!-D
  RewriteRule ^ (. +) $ Index.php? / $ 1 [L]
  </code></pre>
  
  <p>The solution was to comment the line #RewriteEngine On  and now throws the error.</p>
  
  <p>I'm programming with CodeIgniter and I want to remove the index.</p>
  
  <p>localhost / ~ user / project / contact does not work. 404 error</p>
  
  <p>localhost / ~ user / project / index.php / contact if it works.</p>
  
  <p>Thanks!</p>