Log all 404 errors using .htaccess

I don't have root access.  How can I log all 404 errors (nothing else) to 404log.txt using only .htaccess?
LVL 16
Who is Participating?
Xyptilon2Connect With a Mentor Commented:
You need the ErrorLog directive from Apache for that, which can only be set in the ServerConfig or the Virtual host container. (See: http://httpd.apache.org/docs/2.0/mod/core.html#errorlog)

Unfortunately not in .htaccess
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.