ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Help with htaccess on MAMP

November 13, 2010 6:51pm

Subscribe [3]
  • #1 / Nov 13, 2010 6:51pm

    Miguel Diaz

    32 posts

    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.

  • #2 / Nov 13, 2010 7:43pm

    chrisilk

    3 posts

    did you check phpinfo for mod_rewrite?

  • #3 / Nov 13, 2010 7:58pm

    guidorossi

    68 posts

    First, take a look at httpd.conf on /Applications/MAMP/conf/apache to see if the “LoadModule rewrite_module modules/mod_rewrite.so” 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

    http://ellislab.com/forums/viewthread/112024/

    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>
    
    <IfModule !mod_rewrite.c>
      ErrorDocument 404 index.php
    </IfModule>
  • #4 / Nov 13, 2010 9:58pm

    Miguel Diaz

    32 posts

    thank you I already put it working i forgot to put in each of my htaccess before the index the name of the folder

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases