When I went to got my laptop fixed at the AppleCenter, their solution was a reinstall of the system software. Everything's okay now, except for the fact that I can't access my Web shared Sites folder anymore. Whenever I try to access http://localhost/~jino/, I get a Forbidden error, You don't have permission to access /~jino/ on this server.
2 things you might want to check... open up terminal and see who the owner is of the Sites directory is. Also you may want to check /var/log/httpd/access.log and /var/log/httpd/error.log to see the specific errors involved.
From the Get Info window, the Sites folder is owned by me, and belongs to my group. Permissions are: owner can read and write, group can read only, and world can read only. The error log only shows "Directory index forbidden by rule: /Users/jino/Sites/"
run terminal do an 'su' and take ownership of the folder. will only be possible if you are in terminal as the root user though. The following command after putting in your root password is 'chown' for change ownership. You will have to change the attributes of the folder you want to access.
Linux boys, can you help him out? Too sleepy to look for the command but this should point you in the right direction.
Originally posted by jino
From the Get Info window, the Sites folder is owned by me, and belongs to my group. Permissions are: owner can read and write, group can read only, and world can read only. The error log only shows "Directory index forbidden by rule: /Users/jino/Sites/"
Ok.. I think I know what is going on with your system. The above is a virtual directory error from apache. I was able to simulate it on my test machine and got the following error on my apache error.log:
[Fri Apr 8 07:22:26 2005] [error] [client 192.168.0.53] Directory index forbidden by rule: /Users/jbd/Sites/
First, go to your sharing options in the preference panel and turn off personal web sharing. Open up a terminal and change to the directory /etc/httpd/users and verify that there is a file called "jino.conf". If there is no file there by that name you will have to create it, if there is one, you will have to make sure that it looks similar to below:
Code:
<Directory "/Users/jino/Sites/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Once you have made the changes or made the file (i'm assuming heavily this is the reason you are getting the error), save the file and restart the personal web sharing. That should do it for you.
Bookmarks