Apache 403 forbidden problem

Discussion in 'macOS' started by dikketienes, Jun 22, 2009.

  1. dikketienes macrumors member

    Joined:
    Oct 13, 2008
    #1
    Hey,

    I'm trying to start my apache server on my mac but I can't get it to work 100%.
    When I go to http://localhost/ I get the standard apache test page, without images. And when I'm trying to acces http://localhost/~shortusername/ I get the 403 Forbidden page. On every page I do get this error exept on /Library/Webserver/Documents/index.html

    I looked in my Console and when I start my apache service this error appears:
    Code:
    (org.apache.httpd) Unknown key: SHAuthorizationRight
    I read that it could be something to do with upgrading from 10.4 to 10.5.
    This can't be the problem because it's a clean install.
    My sites folder in my own account has the following premission:
    Code:
    drwxr-xr-x+ 30 shortusername staff  1020 Jun 19 08:07 /Users/shortusername/Sites
    Does anybody know what is wrong, and what I can do about this?

    Sorry for my poor english.
     
  2. tempusfugit macrumors 65816

    Joined:
    May 21, 2009
    Location:
    Chicago
    #2
    Did you enable it correctly in system preferences under sharing?
     
  3. tempusfugit macrumors 65816

    Joined:
    May 21, 2009
    Location:
    Chicago
    #3
    screenshot
     

    Attached Files:

  4. belvdr macrumors 601

    Joined:
    Aug 15, 2005
    #4
    That's the correct directory and permissions are fine on it, but what about the index.html file inside that directory.

    You might also check the httpd.conf file to ensure it is pointing /~username to that folder.
     

Share This Page