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-30 13:54:38
From:   tatlar
Response to: Changed the index.html, now getting "forbidden" on both IP's!!

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

Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • Changed the index.html, now getting "forbidden" on both IP's!!
    2002-08-09 07:41:03  mrecord [View]

    I was having this same problem for a while. Then I figured out that I had to change the privileges for the items in the directory to "Read Only" (for Group and Everyone). That solved the Permission Denied problems.
  • Okay, figured it out....
    2002-01-30 16:15:13  tatlar [View]

    Okay, I think I messed up - I replaced ALL the default files with my newwebsite - I guess this threw everything out the window of Apaches default folder. After putting everything back to how it was when I first started messing around, I can now see the old website.

    Sorry for the confusion.
    I guess that the previous message with the error log just shows me turning web sharing off and on as I tried to figure out what was going on?

    Cheers,

    Tatlar
    • Okay, figured it out....
      2002-09-06 12:04:25  jtangney [View]

      I saw the same messages in my apache log (which is how I got to this page ;->) The solution was to remove the .DS_Store file from the document root directory (/Library/WebServer/Documents). These folders are created by the Finder.