529 Views 9 Replies Latest reply: Nov 10, 2005 11:43 PM by MS5STAR
Typically /Library/Web Server/Documents is where the home page for your "entire" computer is served from.
Each user can also have a personal home page and it would go in the "Sites" folder inside their home folder. The URL to reach a user's personal home page will be:
Substitue the actual user ID for "userID" and note the "~" tilde in front of the userID.
If you want to change the locations of either a user's Sites folder or the computers /Library/Web Server/Documents then you'll have to learn a little about Apache web server administration, and look at modifying /etc/httpd/httpd.conf and or /etc/httpd/users/<username>.conf
Thanks for your info...I have no problem with reaching the computer address but i can't reach the username address for some reason...it just says you don't have permissions... yet i check the folder under get info and all looks well?
I would prefer to have it under username instead of the webserver folder but cant get in
This is what it says when i try to access my username address under the personal web sharing address they show you in the sharing panel
You don't have permission to access /~myuserid/ on this server.
Apache/1.3.33 Server at macintosh.local Port 80
But the computer address works fine....the one that goes to the webserver folder/documents
Sounds like perhaps the "Sites" folder in you home folder has incorrect permissions. Ther perms on "Sites" is a little different from most other folders in your home. Here's what mine shows in Terminal:
iMacHerman:~ steve$ ls -lad Sites
drwxr-xr-x 5 steve steve 170 Dec 23 2004 Sites
Specifically, Group and Other need read and execute access on the folder. This should fix it if it's not right:
chmod 755 /Users/youruserid/Sites
Subfolders inside "Sites" will need read/execute for Group/Other just like the Sites folder.
The html files, images, etc. inside Sites or subfolders also need read access by Group and Other. For example, this will set the correct perms on "index.html":
chmod 644 /Users/youruserid/Sites/index.html
Oh no! it wasn't the homepage in the safari...it's about web sharing and having the homepage you want to come up as part of your website from your mac...in my old imac, web sharing was very simple for pointing at which folder and home page you wanted to select from the file sharing control panel in os 9..
it's all new to me that's all...still taming the tiger...TY for the info
Although it may have been easy or slightly less confusing to get web sharing up and running in OS 9 I think you'll find that the Apache web server that comes with OS X is an "industrial strength" web server.
You should be able to go here to begin reading about how to administer it:
[Edit] the above link doesn't seem to be live, but you ought to be able to copy/paste it into your browser or simply look in your local /Library/Documentation/Services/apache folder and you'll find the Apache documentation in html format.