Serving WebAssembly Files with a Development Web Server

WebAssembly is a relatively recent feature of javascript and modern browsers; as a result, many web servers don’t recognize files the “.wasm” extension as Web Assembly binary files. Here’s how to configure this file type for web servers in the development environment.

A WordPress die(md5()) exploit?

There have been periodic requests logged in this site’s HTTP access logs that request a PHP page (usually simply index.php) and attempt to pass parameters like “die(md5(34563))” or “die(pi()*42)”. These extra parameters don’t seem to have any effect on the site, but I’m still curious about what the intent of these requests might be.

Fixing WordPress 404 Not Found Errors When Using Permalinks

I was setting up a new install of WordPress recently, running locally on my laptop. After a while I started getting “404 Not Found” errors on opening any individual page on my new WordPress site: I couldn’t open posts or static pages and had no access on tag or category links.