Extremely Tiny Application Firewall Class

This is a small IP address blocking “firewall” for an old PHP based website. It’s totally basic, with no features at all. This is for those annoying situations when old software contains security holes, and you find out in the logs, when you see some queries with a long string of SQL-like code.

Continue reading Extremely Tiny Application Firewall Class

Fixing a Static Archive of a Drupal Site to Redirect Old URLs with Mod Rewrite

The new Google Search Console shows you what URLs were are causing 404 errors, and not in the index. A static archive of this old Drupal site worked okay, but I needed to redirect old URLs so they’d work again.

Continue reading Fixing a Static Archive of a Drupal Site to Redirect Old URLs with Mod Rewrite