Portal   Forum   Members   Market   Gallery   Events

web site hosting in OS X

Discussion in 'Help Forum' started by hootowl, May 5, 2002.

  1. hootowl

    hootowl Peasant

    Joined:
    Apr 21, 2002
    Messages:
    16
    Likes Received:
    0
    Market Rating:
    0
    i finally got my imac to run as a server (wooohooooo). my donaim name is pointed to my server through my router which i can access outside my network. when i when i type in my url in my browser it brings me to my home page. problem is when i try to browse through my site via links, i get
    Forbidden
    You don't have permission to access /xxxx/xxxx/xxxxx/xxxx.html on this server.
    Apache/1.3.22 Server at 127.0.0.1 Port 80
    also, i have background music embedded to page which doesn't play. some graphics appear and others don't, even though they are all in same folder and added same way. everything runs fine when i access from within network or test site in dreaweaver browser. it's been driving me nuts trying to figure out what's wrong. any help is greatly appreciated
     
  2. Haite

    Haite Forum Moderator

    Joined:
    Jan 29, 2001
    Messages:
    9,325
    Likes Received:
    34
    Market Rating:
    0
    You have a router, so you may or may not need to forward port 80.

    --Haite
     
  3. cowofwar

    cowofwar Peasant

    Joined:
    Jun 14, 2000
    Messages:
    13,721
    Likes Received:
    18
    Market Rating:
    0
    Is everyone chmod'd correctly?
     
  4. hootowl

    hootowl Peasant

    Joined:
    Apr 21, 2002
    Messages:
    16
    Likes Received:
    0
    Market Rating:
    0
    i do have port 80 open. i can access main page, just can't navigate site. what the hell is chmod?
     
  5. Jakeman

    Jakeman MSC Founder and Donator

    Joined:
    Feb 26, 2000
    Messages:
    25,761
    Likes Received:
    27
    Market Rating:
    16
    chmod is a directory permission thing under *nix based operating systems (like OS X).
     
  6. Haite

    Haite Forum Moderator

    Joined:
    Jan 29, 2001
    Messages:
    9,325
    Likes Received:
    34
    Market Rating:
    0
    chmod is the command line statement to change user permissions for a file. The three groups are owner, group, and all. The three levels of access are read, write, and execute, in that order. You'd need read level access for all users on all images you're hosting. You'd need execute level access for all users if you're running any web scripting that's compiled on-server (such as CGI/Perl). Code that's executed on the client machine (such as Javascript) only needs to have read level access. You don't even have to mess with the chmod command in OS X, just get info on all your web folders and set permissions accordingly.

    Bear in mind that root can do anything with anything.

    --Haite
     
  7. hootowl

    hootowl Peasant

    Joined:
    Apr 21, 2002
    Messages:
    16
    Likes Received:
    0
    Market Rating:
    0
    works like a charm now...thanx. figures it would be something easy.
    gonna be up all night now working on site..lol
    thanx for the help guys.......:)
     

Hitometer: 54,585,187 since 1995