[eluser]Rick Blackdog[/eluser]
Hi, have read a few articles and tried various configs but am unable to remove index.php using my .htaccess file on my local machine (mac). This is a new install of MAMP running PHP 5.3 & apache 2.0.63.
My apache config has this line...
Code:
LoadModule rewrite_module modules/mod_rewrite.so
Here's my .htaccess file which is in the root directory (along with system & application).
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>