Operating System & Version
CentOS 7
cPanel & WHM Version
v96.0.11

Rockforduk

Well-Known Member
May 5, 2016
45
4
58
London
cPanel Access Level
Root Administrator
Hello Everyone,
I have a strange one here, I have setup a new WordPress site/Directory and all of a sudden I am getting 404 errors on css and image file loading on this particular website. So, I can only think either ModSec is blocking this file types (they are not being triggered in the main ModSecurity Control) or is it a Litespeed Server issue?

I need to understand what is the best way to debug the file types being blocked by the server, how would I debug the ModSec for that specific site to see if it is that causing the issue?

Thanks

Rockforduk
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
6,974
921
313
cPanel Access Level
Root Administrator
Hey there! The easiest option would be to just turn off ModSecurity temporarily, but it seems odd to me that it wouldn't be logging anything if that was indeed the software causing the issue.

I would expect a 404 error to be logged somewhere, so before digging into ModSecurity too much I would try disabling Litespeed to see if that at least gets you an error message.