Sorry

david's picture

Ok I changed a setting yesterday that made the home page not show up. All the other pages worked fine, and I guess I just didn't think to test the home page. Sorry about that.

Actually, I think I'll blame A Roman Holiday on this one. Every time I have to do a new upgrade of Drupal, I have to add back in custom settings so that ARH's section of this site will work again. It apparently hadn't been working for a few weeks (or longer) because on the last upgrade I guess I forgot to do that and nobody said anything. So then yesterday I added the setting back in, and it broke more stuff because I didn't do it right.

Read this part for the nerdy details. When ever I upgrade Drupal, I usually forget to not override the .htaccess file, so I have to go back in each time and change things. The problem is that Drupal only uses index.php as the directory index, which is fine, but ARH is so low tech they use index.html, so I have to add that to the directory index list.

The problem was that I used a comma instead of a space to seperate the entries. So here's your .htaccess lesson for the day.
This is wrong: DirectoryIndex index.php, index.html
This is right: DirectoryIndex index.php index.html

I used to have some custom rewrite rules as well, but then I forgot about them during an upgrade and didn't have them written anywhere. So I'll just have to see what shows up in the error logs.

Oh yeah, happy Friday the 13th.


Submitted by david on January 13, 2006 - 9:27am.
categories: