Forum Moderators: phranque

Message Too Old, No Replies

File does not exist: /htdocs

weird error

         

RonPK

8:03 pm on Jun 7, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



After installing Apache 2.2.3, the server error log is being rapidly filled with this message:

[Thu Jun 07 19:18:46 2007] [error] [client ::1] File does not exist: /htdocs

There's an entry almost every second, which corresponds with server hits.

I've scanned all apache config files, but none mentions /htdocs.

I've been searching the web for hours to find out what this might be, but to no avail. Does anyone have a suggestion?

jdMorgan

9:08 pm on Jun 7, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



/htdocs may be the default DocumentRoot path set in httpd.conf. This is the subdirectory where all HTTP documents are expected to be. If you confirm that DocumentRoot is set to point there, then either move all of your web site files into /htdocs, or change the DocumentRoot to point to the correct location.

Jim

RonPK

9:43 pm on Jun 7, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



/htdocs may be the default DocumentRoot path set in httpd.conf

Nope, like I said: none of Apache's config files contain the string 'htdocs'.

But you put me on the right track: there was no default DocumentRoot entry. I did have such an entry in every vhost-container - that was enough in a previous version. So I've added a default one, and now the problem is gone.

jdMorgan

9:48 pm on Jun 7, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



/htdocs may be the default DocumentRoot path set in httpd.conf
:)

Jim