Category Archives: Apache

Apache – Mac: getting a 403 Forbidden error: You don’t have permission to access / on this server.

At first, I changed only this line: Original: # DocumentRoot “/Library/WebServer/Documents” DocumentRoot   Modified: “/Users/yulin/Documents/2012/work/putiSite/putiVan20121115” I got “You don’t have permission… …” After I changed this line: Original: # <Directory “/Library/WebServer/Documents”> Modified: <Directory “/Users/yulin/Documents/2012/work/putiSite/putiVan20121115”> And restart apache by  typing: sudo … Continue reading

Posted in Apache, Mac | Tagged , | Leave a comment

Restart Apache in Mac OS X

To restart the Apache webserver service you can run the following command in a Mac OS X Terminal window: sudo /usr/sbin/apachectl restart

Posted in Apache, Mac | Tagged , | Leave a comment

When Apache meets Mac – How to find and modify httpd.conf

What is Httpd.conf? Httpd.conf is the Apache web server’s main configuration file. Mac OSX ships with Apache installed. See Apache’s configuration docs for how to configure Apache. Httpd.conf Location on Mac On Mac httpd.conf location is in the directory /etc/apache2. You can access this folder … Continue reading

Posted in Apache, Mac | Tagged , | Leave a comment