404 error logs

paksociety

Verified User
Joined
Jul 11, 2013
Messages
89
Hi.
How can i log all 404 error requests?
In Capnel there was an option. It was really helpfull. Or i have to enable it on DA?

I am on centos 6 and using CB2.0


Any help will be appreciated.
Regards
 
Hello,

Unless you use mod_rewrite all 404 errors are logged into a webserver`s or a virtualhost`s log. No need to enable anything extra.
 
i am suing Nginx Apache as webserver, is it uses mod re write? also please tell where are server's or virtual hosts logs present, by default nginx error logs only show premature closed error and apache errors just show mod ruid 1 enalbe and Command line: '/usr/sbin/httpd -D SSL etc in logs.

Regards
 
Back
Top