12/12/2007

[Apache] Attempt to serve directory ...

If you have a huge logs in the apache error_log like below
[Thu Dec 13 00:06:47 2007] [error] [client xxx.xxx.xxx.xxx] Attempt to serve directory: /DocumentRoot/
[Thu Dec 13 00:06:51 2007] [error] [client xxx.xxx.xxx.xxx] Attempt to serve directory: /DocumentRoot/
[Thu Dec 13 00:06:52 2007] [error] [client xxx.xxx.xxx.xxx] Attempt to serve directory: /DocumentRoot/

Due to this logs,my apache error_log got huge and ocuupied disk space.
To stop the unnecessary logs,You syould check the DirectoryIndex entry and need to have index files.

If the DirectoryIndex settings is like below
DirectoryIndex index.html

You need to have a index.html in your DocumentRoot to stop above log message.
Good Luck ;)

I Refered to this article.
https://answers.google.com/answers/threadview?id=480467

No comments: