I would like to run a local PHP (5.3) website on Mac OS X 10.6. I have PHP configured properly and can access a website using http://mymac.local/~me/index.html. I have this folder structure:
~me/Sites/index.html which points to http://mymac.local/~me/index.html ~me/Sites/mysite/home.html which doesn't work
If I try http://mymac.local/~me/mysite/home.html, I'll get a forbidden error stating I don't have permission to access that file. If I put home.html in the Sites folder, I still get the error. Seems Apache is hard wired to like only the index.html and no sub folders. Is there a way to get that working?
Strange http gzip issue
sIFR Cause initial page load to stall?
What's the difference between APR (Apache Portable Runtime) 1.3 and 0.9?
Permissions have been changed, you could chown or chmod the folder and files to get them back to being readable..
404 Error Page ~ Redirect an Image - PHP
What is the benefit (if any) of using APR with Tomcat?
Direct “puts” in Rails, to Apache log
RedirectMatch and Regex Tomfoolery
With Django, what's the correct way to set up paths to the admin content and static content?
However, from experience I know that Apache on OS X can be a pain.
You could dodge the problem and use XAMPP or MAMP instead..