Category: coding

How to create an Apache module – Where to start?

Recently I came across an issue that required me to modify the incoming requests to the web server before it was handled by the application behind it. Since the module created by the web application was blocking all OPTIONS requests and only allowing GET and POST requests, I had to find a way

Read More »

The try catch vs checks conundrum

This is a discussion that will, at some point, come up between colleagues. Should I use checks null checks on everything in a function or just solve the entire thing by putting a try { } catch {} block around the entire function and get it over with. A simple

Read More »