• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 209
  • Last Modified:

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?
0
hankknight
Asked:
hankknight
1 Solution
 
Xyptilon2Commented:
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
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now