Site Down Due to Apache 2 Upgrade

Man! I wish hosting companies would tell their customers that they are doing upgrades and that the site will be down. I also wish that they would do the upgrades in the middle of the night and not in the middle of the business day.

All my sites were down a couple hours yesterday, but my portfolio was 500 server errors and or blank for about 24 hours (I didn't know, because I have a lot on my plate right now).

You see, I use an older, modified version of Zen Photo, so I'm not in the mood (and don't have the time) to upgrade right now. The .htaccess file was working great for the last year, but due to the Apache upgrade, it has incompatible code. I found this out after waiting a long time on hold with the hosting company — unhelpful to fix it I might add. I'm no programmer — I know jack squat about .htaccess except for the basics. This particular .htaccess file has lots of Rewrite Rules like: "^([^/]+)/image/(thumb|[0-9]{1,4})/([^/]+)$" — nice huh?

This is the file that comes with the script, and since it's an open source script, I knew I'd be waiting a day or so for the answer to fix this (I'd have to wait even for a paid script). So I literally prayed and looked at the file, and then I had the intuition to remove the backslashes and the ? (question mark) signs (question mark signs that are not part of a path, or url) and then I reloaded it and it worked!

Whew!

Bookmark and Share

Comments (0) January 10, 2008