[thelist] Re: PHP, mod_rewrite help (Dreamhost)

Timothy J. Luoma luomat at peak.org
Fri Apr 30 11:23:55 CDT 2004


I have literally been at this for days, and that was the trick to getting 
it right?  I'm going to go kill myself.  Well, no, now that I've got it 
working, I should be around to enjoy it.

For the record, here's what I have (note /ethan/daily.php was renamed 

RewriteEngine on
RewriteBase /ethan
RewriteRule /daily$ ddoe.feeder.php
RewriteRule /daily/$ ddoe.feeder.php?$1
RewriteRule /daily/([0-9]+)$ ddoe.feeder.php?$1

Line #3 takes care of requests that end in /daily
Line #4 is for /daily/
Line #5 is for /daily/<numbers here>

THANK YOU many times over.  I should have come here first.


More information about the thelist mailing list