mod_rewrite Woes
Tuesday, May 3rd, 2005I thought I’d solved my problems enabling mod_rewrite to give me more attractive looking permalinks for my posts when I made this support forum post last night.
They were working when I posted that. This morning they’re broken.
Now I vaguely remember “tidying up” some configuration files to remove any accidental damage caused by my tinkering - clearly I changed something significant without noticing. Of course I didn’t do the intelligent thing and log all of my changes.
Still, half the fun of something like this is the learning you’re forced to do as you wrestle with getting it to work. I think I’m due another lesson.
UPDATE: found the culprit: /etc/apache2/default-server.conf
The options set here apply to all virtual hosts - and override the defaults set in httpd.conf
One quick edit to enable:
Options FollowSymLinks
AllowOverride All
and everything’s working again.