![]() Because ~/Sites is actually a symlink, I then tried to update DocumentRoot with the following paths (all pointing to the same directory): It looks like Apache is somehow denying me access to my DocumentRoot (which by the way is ~/Sites). /etc/apache2/extra/nf ( view file - updated VirtualHost)./etc/apache2/users/nf ( view file - created this file)./etc/apache2/nf ( view file - updated the DocumentRoot)./etc/hosts ( view file - added one line).First I saw through the terminal that both Apache and PHP are running (even though I can't view PHP pages) then I updated all permissions according to Apache permissions now I'm just desperate. This time I'm simply getting a 403 Forbidden error every time I hit 127.0.0.1, localhost, or local. Enabling Apache in Mac OS X Mountaion Lion. ![]() How to turn Mac OS X Lion into a web server?.I usually update /etc/hosts just to run my local websites with a pretty : local/example. I'm trying to set a local environment on my new MacBook Air 13": built-in Apache with my own DocumentRoot, PHP, and MySQL.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |