Women in Technology

Hear us Roar

  Apache Web-Serving with Mac OS X: Part 1
Subject:   Solution to 403 Forbidden. You don't have permission to access
Date:   2007-12-15 00:21:11
From:   louisej
Some people, including me, have put web pages in their personal Sites folder (~/Sites), then turned on Web Sharing and tried to display those web pages. Instead of seeing our web pages, we see
"403 Forbidden. You don't have permission to access"

I found an explanation of how to fix the problem in

I followed that web pages "Activate All User Accounts" instructions, and created a file called /private/etc/apache2/users/local.conf. Now I can see my web pages - both on the computer that contains the web pages, and also on another computer which is connected to the Internet.

The only changes that I'd put into the gigoblog explanation are these:
1) Make sure that you're signed on as a system administrator before you start typing commands in Terminal.
2) After you're done, if you don't usually log onto your Mac as an adminstrator, exit from your administrator session.

Full Threads Newest First

Showing messages 1 through 1 of 1.

  • Solution to 403 Forbidden. You don't have permission to access
    2008-08-15 18:32:57  devdevdev51 [View]

    i used louisej's instructions (which i'm sure work fine) but i made a typo somewhere in terminal and now i can't open even the addresses outlined in this tutorial such as http://localhost or or anything that i couldn't before. i get the 403 forbidden. help! how do i reset to defaults in terminal???