views:

11

answers:

0

I have the following set up working on my live hosting environment (Dreamhost, which I believe is Linux) and also on my Windows environment, but OSX is being tricky.

I have the following files in my root directory: resume.php projectName.php

What I would like is for projectName.php to map to /portfolio/projectName/. I have the following, which works on windows:

RewriteRule ^portfolio/clientsName/ projectName.php [NC]

However, this isn't working on OSX when I go to mylocalsite.com/portfolio/clientsName

The strange part (that I've seen on two different Mac machines), is that I can go to something like mylocalsite.com/resume or mylocalsite.com/clientsName and it works—almost as if my local webserver is ignoring the .php extension and interpretting it as a sub-directory.

What steps do I need to do to get a consistent site setup on OSX?