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
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,818
Location
GMT +7.00
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.
 

paksociety

Verified User
Joined
Jul 11, 2013
Messages
89
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
 
Top