Hello Everyone,
I am not sure why this is happening but whenever I run PHP scripts from a subdomain all CSS styling gets blocked. Error below
Refused to apply style from 'https://myserverdomain/core/css/inputs.css?v=01e1acf1c8e4e96724ace9637a185763' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
Refused to execute script from '<URL>' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
login:153 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval'". Either the 'unsafe-inline' keyword, a hash ('sha256-9yQTlGBd5SMUeAK1fYfLjlqMM4x+o6EOB/WFeEoHUVo='), or a nonce ('nonce-...') is required to enable inline execution.
They all seem to be block but it all works fine on parent domain.
CentOS 7, CWP Panel
Any help would be much appreciated.
Thank you
Rockyuk
I am not sure why this is happening but whenever I run PHP scripts from a subdomain all CSS styling gets blocked. Error below
Refused to apply style from 'https://myserverdomain/core/css/inputs.css?v=01e1acf1c8e4e96724ace9637a185763' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
Refused to execute script from '<URL>' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
login:153 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval'". Either the 'unsafe-inline' keyword, a hash ('sha256-9yQTlGBd5SMUeAK1fYfLjlqMM4x+o6EOB/WFeEoHUVo='), or a nonce ('nonce-...') is required to enable inline execution.
They all seem to be block but it all works fine on parent domain.
CentOS 7, CWP Panel
Any help would be much appreciated.
Thank you
Rockyuk
Last edited: