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 comment

About Jonathan

Lapsed: physicist and television producer. Now: media consultant/freelance film-maker, trying to reignite public-service children's media, particularly around science and engineering.

Categories

Recent Entries

  • Internet Watch Foundation filtering

    Lots of talk on Twitter today about [this](http://en.wikinews.org/wiki/UK_ISPs_erect_%27Great_Firewall_of_Britain%27_to_censor_Wikipedia): six major UK ISPs (including mine, the previously-rather lovely [Be](https://www.bethere.co.uk/)/O2, also Orange, Virgin, Demon, EasyNet, PlusNet and...

  • Building buzz without a budget

    Here's an excellent, [short presentation from the Nature Conservancy](http://www.slideshare.net/jcolman/building-buzz-without-a-budget-presentation?nocache=5510&type=powerpoint), outlining their use of Digg to drive traffic to a new website they were promoting. I...

  • The supercomputer in your web browser

    Computational Fluid Dynamics... [in Flash](http://www.joecutting.com/windTunnel.php). This is plain *wrong*, I tell you....

  • Things to know about the Panasonic HMC150/1

    I finally succumbed, and bought a proper camera. A video camera, none of your stills nonsense, nor yet a [stills camera masquerading as a video...

  • Alexandria Railway Station is in Dalaman, Turkey.

    Quoth [Wikipedia](http://en.wikipedia.org/wiki/Dalaman): > In 1906, Alexandria train station was built by mistake in Dalaman. ... In 1905 the then Khedive of Egypt Abbas Hilmi Pasha...

Close