Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to set homepage?

Can anyone tell me how to direct to a certain homepage instead of to the webserver documents folder...That seems to be where the browser goes..i dumped everything out of there and put in my homepage because the apache default page was coming up... unlike the os9 system which i just switched from...
I used to choose where the homepage was and from which folder..can i choose the folder other than the webserver folder??Cause i can't see how yet..i'm still trying to tame the tiger...

Posted on Nov 6, 2005 9:22 PM

Reply
9 replies

Nov 6, 2005 10:16 PM in response to 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:

http://your.computer.name/~userID
or
http://localhost/~userID

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

Steve

Nov 6, 2005 10:27 PM in response to MS5STAR

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

Nov 6, 2005 10:33 PM in response to MS5STAR

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

Forbidden

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

Nov 7, 2005 7:04 AM in response to MS5STAR

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


Steve

Nov 7, 2005 10:40 PM in response to MS5STAR

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

Nov 7, 2005 11:21 PM in response to MS5STAR

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:

file:///Library/Documentation/Services/apache/index.html.html

Steve

[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.

How to set homepage?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.