ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  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
http://www.gigoblog.com/2007/11/08/configure-apache-web-sharing-for-user-accounts-in-mac-os-x-105-leopard/


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.


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

1 to 1 of 1