Category Archives: Apache

General tips and tricks regarding the world’s most reliable web server.

Put Your 404 Page to Work with URL Splitting

If you launch a new version of a site and the URL structure changes – you can certainly handle most of that with an htaccess file and a 301 Redirect command. But sometimes, as I’ve found at least, this isn’t … Continue reading

Posted in Apache, PHP, SEO | Leave a comment

How to Fix Minify Error: !FAIL: environment : PHP/server does not auto-HTTP-encode content

So you’ve setup PHP Minify and think you’re a good citizen for making your site zippier. You run the tests in min_unit_tests and all pass, except for the last one: !FAIL: environment : PHP/server does not auto-HTTP-encode content (1 of … Continue reading

Posted in Apache, PHP | Leave a comment

Baiduspider, Twiceler, and Yeti – Bad Robots!

One of the websites I manage had been experiencing tremendous use in bandwidth. “Sweet!” we thought, a solid boost in traffic is a good thing. But as time went by, it kept going up and up in an unreal way … Continue reading

Posted in Apache | Leave a comment

Combo Pack: CakePHP and Leopard Virtual Hosts

A bit about CakePHP, but more about getting several virtual hosts/domains up and running on Leopard. For example, you can setup www.testsite1.dev and www.testsite2.dev with full PHP/MySQL database-driven goodness. Continue reading

Posted in Apache, OS X, PHP | 8 Comments

Forcing a Download with Apache and .htaccess

Sometime you don’t want to give your site visitors the option to open a file in their web browser. This could be a Microsoft Office document, or even a giant jpg or png image. When you want to force download … Continue reading

Posted in Apache | Tagged , | 16 Comments

Moving Data Out of Movable Type

ChronicBabe.com started off as a smallish blog, and was powered by Movable Type. But as the site grew, features were added, and we soon started to feel a bit limited by good ol’ MT, even with it’s extensive range of … Continue reading

Posted in Apache | Tagged , , | 2 Comments