Lumen Micro-Framework - Useful Resources

I recently started playing around with the Lumen micro-framework. For those who don't know much about I would encourage you to check it out. It is by the developers of Laravel, another popular PHP framework. Lumen is mostly aimed towards micro-services such as a RESTful API. It makes it crazy simple to create powerful services out of the box. If you want to get started here is a list of…

Properly Redirect Files and Directories with .htaccess

The Problem A few days ago I was tasked to change the name of a directory containing PDF files linked to from many internal and external pages. Say you have a long list of links that go to important PDF files your visitors rely on. http://example.com/files/pdf/important.pdf http://example.com/files/pdf/safety.pdf http://example.com/files/pdf/instructions.pdf Now for whatever reason…