Rewrite rewritten

Hopefully this will be my last extreme-geek post for a while, but somebody out there Googling might like to know that mod_rewrite actually does work with PHP-CGI at Dreamhost, contrary to my rant the other day.

For some reason that’s not entirely clear, index.php is not rewritten, but renaming the main script and fudging that way works fine. However, every single example I could find for the specific script I’m using was wrong. So I read the incomprehensible Apache mod_rewrite docs and built the simplest possible example case, then worked up from there.

If anybody really cares, here’s my full write-up at Dreamhost’s user forum.

Can I please stop being this kind of geek, now? It’s really not what I’m cut out for.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.