Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X: Part 1
Subject:   Changed the index.html, now getting "forbidden" on both IP's!!
Date:   2002-01-28 18:03:59
From:   morbus
Response to: Changed the index.html, now getting "forbidden" on both IP's!!

Not really that much of a clue, actually. You only changed the index.html files, located in /Library/WebServers/Documents/? You didn't change anything else?


What do the last couple of lines in your error log say? To get that info, do the following on a command line:


tail -f /var/log/httpd/error_log

Main Topics Oldest First

Showing messages 1 through 2 of 2.

  • Changed the index.html, now getting "forbidden" on both IP's!!
    2002-03-20 10:41:13  jaymzalgen [View]

    I also get a statfs failed because: No such file or directory
    in my error log, What does this mean?
    It seems to happen on any page access
    although everything appears to be working fine.

    Here is the log:
    [Wed Mar 20 13:26:07 2002] [notice] Accept mutex: flock (Default: flock)
    statfs failed because: No such file or directory
    statfs failed because: No such file or directory
    statfs failed because: No such file or directory
  • Changed the index.html, now getting "forbidden" on both IP's!!
    2002-01-30 13:54:38  tatlar [View]

    Thanks for the help. The error log shows the following:

    [Tue Jan 29 08:09:38 2002] [notice] Apache/1.3.20 (Darwin) configured -- resuming normal operations
    statfs failed because: No such file or directory
    [Tue Jan 29 12:10:29 2002] [error] [client 24.132.68.122] File does not exist: /Library/WebServer/Documents/scripts/.%2e/.%2e/winnt/system32/cmd.exe
    [Tue Jan 29 15:15:04 2002] [notice] caught SIGTERM, shutting down
    Processing config directory: /private/etc/httpd/users
    Processing config file: /private/etc/httpd/users/donut.conf
    Processing config file: /private/etc/httpd/users/test.conf
    [Wed Jan 30 13:48:14 2002] [notice] Apache/1.3.20 (Darwin) configured -- resuming normal operations
    statfs failed because: No such file or directory
    [Wed Jan 30 13:48:30 2002] [error] [client 127.0.0.1] (13)Permission denied: file permissions deny server access: /Users/donut/Sites/index.html
    statfs failed because: No such file or directory
    [Wed Jan 30 13:50:17 2002] [error] [client 127.0.0.1] (13)Permission denied: file permissions deny server access: /Users/donut/Sites/index.html
    [Wed Jan 30 13:50:22 2002] [error] [client 132.239.153.80] (13)Permission denied: file permissions deny server access: /Library/WebServer/Documents/index.html

    I have checked, and there is definitely a index.html file in the Site folder of my Users area.

    Any ideas?

    Cheers,

    Tatlar