Leopard personal webserver problems

Discussion in 'Web Design and Development' started by oli2140, May 17, 2008.

  1. oli2140 macrumors 6502

    Joined:
    Jan 13, 2008
    #1
    Hi, after turning on web sharing on System Preferences. It then gives me a link to my 'Personal Website' which is made up of my local i.p address followed by '~Oliver'. However, when i click on this i am given the message on safari :

    Forbidden
    You don't have permission to access /~Oliver/ on this server.

    I read somewhere that this is a fault of Leopard but is there any way i can view websites I have copied to my Sites folder? I realise i can access my files hosted on my computer's web address through Library > Webserver > Documents but if I place files here, can computers from the outside world connect? To start off with I would like it a closed system that in time I can just turn on.

    Thanks for your time.
     
  2. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    I'm not sure about the permission denied error. I use Mamp for my local setup. As far as can anyone outside see your site if placed in the web root directory, it depends on your exact setup. A lot of people have routers and connect to that so their computers aren't directly connected to the net. In this case your site would only be accessible from outside if the router is setup to forward port 80 to that computer. If you don't have a router and Leopard is setup to accept connections on port 80 then yes someone outside could see your site, but only if they know your IP address.
     
  3. oli2140 thread starter macrumors 6502

    Joined:
    Jan 13, 2008
    #3

Share This Page