It looks like Apache is somehow denying me access to my DocumentRoot (which by the way is ~/Sites).
![mac os x web server 403 error mac os x web server 403 error](https://kinsta.com/wp-content/uploads/2019/01/403-forbidden-error-chrome.png)
witihn, and a handy control panel to control some aspects (caching, PHP 4 or 5 etc.). /etc/apache2/nf ( view file - updated the DocumentRoot) MAMP is a web server package for Mac that developers use for local development on a Mac.
![mac os x web server 403 error mac os x web server 403 error](https://www.online-tech-tips.com/wp-content/uploads/2021/06/8-Cookies-1.jpg)
/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. I've been running Mac OS 10.4.11 successfully since it's release, and I normally have the following browsers installed & working: Safari 3.1.1 (my default/first choice), Safari 2.0.4, Firefox 2.0.0.14, and the PC version of Internet Explorer (6.0.2) which I can run in Windows 2000 under Virtual. Enabling Apache in Mac OS X Mountaion Lion.
#Mac os x web server 403 error how to#
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.