Help with htaccess on MAMP

[eluser]Miguel Diaz[/eluser]
Hi I just move to mac and I already install the MAMP in my MAC and transfered all my local sites from my old pc, All is working perfectly the problem that I am havin is with the htaccess is not working I already change my htaccess to remove my index.php and still doesnt work, In my old pc I use to have appserv that works incredible in that one I just have to activate the mod rewrite and works perfect but in this one I dont have idea please can someone help me this is the htaccess that i am using in each of my folder sites.

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L] 

Do the MAMP have a module or something where i have to activate the mod rewrite¨ or please any idea is a great help.

did you check phpinfo for mod_rewrite?

First, take a look at httpd.conf on /Applications/MAMP/conf/apache to see if the "LoadModule rewrite_module modules/" line is uncommented (without the # at the beginning)

If that`s ok, then I'm using this super documented .htaccess file on my MAMP by Daniel Moore

Options -Indexes
Options +FollowSymLinks
Options -MultiViews

DirectoryIndex index.php

<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteBase /CI_Application/
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php/$1 [L,QSA]

<IfModule !mod_rewrite.c>
  ErrorDocument 404 index.php

[eluser]Miguel Diaz[/eluser]
thank you I already put it working i forgot to put in each of my htaccess before the index the name of the folder

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.