PDA

View Full Version : Noob question: Local homepage not working


Gizzer
2008-03-25, 12:42
So I've just decided to teach myself HTML and I've failed at the first hurdle:

I've created a 'Hello world' page, and called it index.html as per the instructions in OS X help.

I've gone into System Preferences --> Sharing, and switched on Web Sharing. I get given 2 homepage addresses: The computer's website address: http://*ipaddress/ and my personal website: http://*ipaddress/~shortname/

If I drop my page into /Library/WebServer/Documents the page is served up correctly. However when I drop it into my own /shortname/sites/ folder and then browse to it I get a "403 Forbidden You don't have permission to access /~shortname/ on this server" message.

Any ideas? According to Help I've done everything correctly.....

Kraetos
2008-03-25, 12:59
Leopard?

Apache 2 needs to be configured.

Web Developers on 10.5 (http://blog.shawnwelch.net/blogsingle.php?day=20071106&num=1)

Tiger and below shipped with 1.3 which was preconfigured. In Leopard, you have to configure the web server.

Gizzer
2008-03-25, 14:55
Thanks for the link. All sorted :)


......Nice of Apple to:
a) Not bother configuring Apache properly
b) Not bother updating the Help to say it hasn't been configured (the help says it is already configured).
:no: