Apache error log: error: client File does not exist: /htdocs

From Bitbull Wiki
Revision as of 06:27, 20 October 2017 by Chris (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

these days i found on my apache error_log this message:

[Sun Jan 10 23:39:38 2010] [error] [client] File does not exist: /htdocs

again and again, i never found the /htdocs dir in my config because i use html dir
for all my virtual apache hosts.
i nearly freaked out, then i got this hint on the net:
it is because has no virtual hosts.... why that?

because i had this base config for my virtual apache domains:

NameVirtualHost *:80

this means also and of course i have no virtual hosts configured for loopback interface! :)
that is the reason for the strange error_log message.

the solution is simple:

vi /etc/httpd/conf/httpd.conf
DocumentRoot "/home/www/bitbull/html"


vi /etc/httpd/conf/httpd.conf