HTTPS Content Security Policy

23 September 2021

Recently i installed WonderCMS right here on I stumbled upon this tiny flat-file content management system via google rabit hole search, that probably started with "flat-file blog" or something like that. Anyway, I downloaded the zip file, unzipped it and was kinda shocked by the single file( not really a single file once it is installed) index.php staring at me.  This instantly brought me back to the early days of programming php! I used to have a since of enjoyment in programming, but that has since wained, i think because of all the added things you have to do to just get something up and running these days. This was a delight to see honestly! So, I played with it locally and decided, "Why not" lets give it a shot!

First Problem

The first problem I was presented with was Content Security Policy issues. This is mainly due to the way i have Apache configured. Since i host multiple sites on the turtle server. I really do not like adjusting anything in production, but alas .httaccess to the rescue. Let's take a look at this problem first and finally what the solution was.

About Jason

Hey! I work in information technology and as such love to play with things.

In addition to IT, i have been programming since I was about 10 years old. I am hoping to share some of my knowledge with the world

This editable area is visible on all pages.