Apache の謎のエラー
Debian(etch) の apache2 で以下のエラーが発生していた。
[Wed Jan 28 16:06:39 2009] [error] [client ::1] File does not exist: /htdocs
ぐぐると、以下のページがヒットした。
http://ubuntuforums.org/showthread.php?t=668979
どうやら、VirtualHost の外に DocumentRoot の設定をしなかった場合、デフォルトのDocumentRoot は、/htdocs になるらしい。
/etc/apache2/conf.d/document_root というファイルを作成して、
DocumentRoot /var/www
などと記述しておいた。これで大丈夫かな?