AWS CloudFront Returns Status Code 200 on 404.html page

If you have followed my Getting a blog running with Jekyll, GitHub Actions, AWS S3, and CloudFront post, among other things you will see an issue where if you manually go to the 404.html page, CloudFront will happily serve you the 404.html page with 200 OK status code. This not only is wrong, but also hurts SEO. I don’t care much about SEO but I still want to fix the problem.

Read More…

Creating and mounting a BitLocker drive image on Linux

Last year, my internal M.2 SSD drive stopped working. I had experienced disconnection problems over the last 2 years; however, last year, it just refused to turn on. It was also encrypted with BitLocker. I took it to a repair shop that claimed they could perform data recovery. However, after waiting for a couple of days, they informed me that they couldn’t recover any data; the M.2 SSD drive was broken and not recognized. I didn’t want to lose all the data I had on that drive, so I purchased a cheap M.2 SSD drive reader and returned home.

Read More…

Getting a blog running with Jekyll, GitHub Actions, S3, and CloudFront

I have been planning on making a technical blog for a long time. I gave it a couple of tries before but never got it finished. Now, I made the final stretch and have one up. From the title, you might have seen the technologies used, and you might ask, “Why Jekyll?” The reason is that static websites are small, cheap, and fast. I am fascinated by them, and I wouldn’t like to have heavy components running for such a small blog.

Read More…