Log 404 Errors
Hello, everyone.
I'm not seeing any logs of 404 errors so I can see what's being requested that is missing. I can't seem to find a setting or anything to turn this on.
- CENTOS 7.7 WHM/cPanel v84.0.8
-
Hello, 404 errors on specific pages would be logged to the access logs at /etc/apache2/domlogs/0 -
That directory doesn't exist. I already tried to look there :-\ 0 -
What version of cPanel/WHM are you running? Are you accessing shell with the root/privileged user? All cPanel servers by default have this directory. 0 -
What version of cPanel/WHM are you running? Are you accessing shell with the root/privileged user? All cPanel servers by default have this directory.
As listed above, cPanel/WHM 84.0.8 on a fresh install of CentOS 7 (just installed today)0 -
Hello, 404 errors on specific pages would be logged to the access logs at
/etc/apache2/domlogs/
Isn't it/etc/apache2/logs/domlogs/
?0 -
Hi @quietFinn You're correct, I always forget it got moved into logs. 0 -
Ok i see it now. However it's still not stating what it couldn't find :( Oh well. 0 -
Sorry, I've been fighting for two days trying to figure out why I'm just getting "The requested URL was not found on this server" but the 404 errors are not being logged and I have no clue how to find out what my site is requesting so I can fix it. 0 -
You might also check the access logs at /etc/apache2/logs/access_log - if they're reaching the hostname those would be logged here. 0
Please sign in to leave a comment.
Comments
9 comments