This article describes how to configure Apache to run a Slim Framework application using PHP-FPM, as a FastCGI application.
Continue reading Configuring Apache with FastCGI PHP-FPM for a Slim Application
I’ve been creating a zillion RewriteRules to perform 301 redirects, and the code has gotten ridiculous. I can’t even read it anymore.
I created a small tool that removes duplicate rules, reducing the number of matches that mod_rewrite needs to try. It also resolves chains of 301 redirects into a single redirect.
Check it out: Redirect Reducer.
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
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
I am migrating from Drupal to WordPress, but don’t want to copy everything over. Some articles, I want in WordPress, but others can be left on the old site, or even on an old static archive.
This tool helps create the rewriter rules, and inserts them into the .htaccess file.
Continue reading URL Migration Tool