OpenLitespeed Contexts causing 404 templates to not work

sahostking

Verified User
Joined
Jan 29, 2021
Messages
110
Location
South Africa
Seems when adding Contexts from Openlitespeed documentation it gives you a nice A+ rating on ssllabs for security but in turn you get an issue with templates of OpenLitespeed like 404 or 403 error pages not parsing CSS.

I've had to remove the contexts now so that the error pages parse the CSS correctly.
 
I use the openlitespeed_vhost.conf.CUSTOM.3.pre file on my server. This will add the security headers into the vhosts file when you do the rewrite configs command.

However I suspect that the 403 errors might be related to the Content-Security-Policy.
 
Back
Top