Freaking multitudes of .htaccess great balls of fire


What happens when your local host upgrades its system to Apache 2? If they forget to add the HeaderName and ReadmeName variable definitions to httpd.conf, your website may come to a screeching halt. If you suddenly find that your ftp listings no longer work right, and the BLasted-UnnamEd-HOSTing service won't take responsibility for fixing httpd.conf, you can fix things by adding the variable definitions to .htaccess files yourself.

My new .htaccess reads as follows:

HeaderName HEADER.html
ReadmeName README.html

Of course, you've got to stick this file in every. single. freaking. folder on your entire website but at least you can get things working again at a local level when the tech support person (who was actually quite nice) tells you that he's not allowed to fix httpd.conf on your behalf.

AddThis Social Bookmark Button