Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7700813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:50:04+00:00 2026-05-31T22:50:04+00:00

I have installed MAMP on my laptop and moved my web project (developed using

  • 0

I have installed MAMP on my laptop and moved my web project (developed using CodeIgniter) under MAMP’s webroot.
I use an .htaccess file to hide my index.php file within my urls and everything is working fine…almost, everything.
I’m able to surf my site locally as in my remote server but some folders/files are not recognized. Looks like they are missing or the path is not matching the physical location on my laptop.
Basically I have configuration like below:

MAMP
htdocs
    myFolderSite
        .htaccess
        site
            myApplicationFolder
                .htaccess
                config
                controllers
                views
                .....
                ...
            myPublicFolder
                css
                images
                .....
                ...

Surfing my site locally css and images are not visible. All the required files are present under the proper folders within myPublicFolder.
The .htaccess file I’m using in myFolderSite appears as below

RewriteEngine On
RewriteBase /myFolderSite/
RewriteCond $1 !^(index\.php|images|upload|users|thumb|fckeditor|public|css|js|robots\.txt|sitemap2\.xml)
RewriteRule . index.php [L]

Am I missing something?

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T22:50:05+00:00Added an answer on May 31, 2026 at 10:50 pm

    The CodeIgniter wiki has a good article on Mod Rewrite that is worth looking at. Specifically, these two lines will stop actual files and directories being redirected.

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    

    I’ve used this across a few different servers and Macs, without too many problems, so hopefully it helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have Codeigniter and Ion Auth installed on MAMP. I have the libraries working
I have MAMP installed in my Applications folder on my Mac, and the project
I'm trying to get away from using Mamp, so have recently installed mysql, edited
I have installed MAMP and the PHP it came with wasn't compiled with ncurses
I have installed TFS Power Tools and I am trying to use the powershell
I am running Mamp as my local server. I Have installed Twig in /Applications/MAMP/svn/twig/twig/lib
Well, I have MAMP installed on my Mac OS X, and I've got PostGres
I have MAMP installed on my Mac OS X, which is installed within my
I have MySQL installed (MAMP, Mac OS X) but need to call it by
have installed Web Developer on Firefox 5.0 and personally found it redundant. would like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.