Then why don't you marry it?
I failed, in my last post, to fully express just how much I love .htaccess. Partially because I had not yet fully realized how nifty it is. My LJ feed had a little problem....
Let's see--how far in do I need to go to explain this?...
I just deleted a lengthy description of Blosxom flavour settings (the author is British. I keep wanting to pronounce it flaw-VOORS). I'll try again.
The way I want present stuff on sebbo.org/main is different from the default way to present stuff. Since the Sebbofeed LJ user page now links straight to sebbo.main, this is a problem. I could have fixed this by moving, copying, and tweaking a lot of files. I couldn't just set up a redirect because that's the bare directory listing for my Blosxom root. If I did that, any attempt to access anything served by Blosxom would go into an infinite loop
Well, it turns out that .htaccess supports Regular Expressions! I added the line:
RedirectMatch permanent /main/$ http://sebbo.org/main/index.htm
(translation: redirect if /main/ is the end of the line) and all worked as it should.
And the dragon and the prince lived happily ever after to the end of their days, even though the President wouldn't let them get married. The End.
