We are moving our production server to a VPS running CentOS, Lightspeed, and Cyberpanel. When previewing the generated site on this server we get a bunch of Failed to load resource errors.
Refused to apply style from '<URL>' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
element-internals-polyfill.min.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
ewcore.min.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
pace.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
login:29 Uncaught ReferenceError: ew is not defined
at login:29:15
login:389 Uncaught ReferenceError: ew is not defined
at login:389:1
login:395 Uncaught ReferenceError: ew is not defined
at login:395:1
login:402 Uncaught ReferenceError: ew is not defined
at login:402:5
login:426 Uncaught ReferenceError: loadjs is not defined
at login:426:1
login:433 Uncaught ReferenceError: ew is not defined
at login:433:1
login:620 Uncaught ReferenceError: loadjs is not defined
at login:620:1
login:631 Uncaught ReferenceError: loadjs is not defined
at login:631:1
login:707 Uncaught ReferenceError: loadjs is not defined
at login:707:1
login:725 Uncaught ReferenceError: loadjs is not defined
at login:725:1
login:822 Uncaught ReferenceError: loadjs is not defined
at login:822:1
What we have tried so far:
- Made sure rewrite was enabled.
- Set AllowOverride All and Require all granted in httpd.conf
- Set RewriteBase to / in PHPMaker and regenerated
- Applied 755 permissions to all folders and files
- Rebooted of course
Any help would be appreciated.