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

Timothy J. Luoma luomat at peak.org
Fri Apr 30 12:32:24 CDT 2004


On Fri, 30 Apr 2004 13:17:15 -0400, sbeam <sbeam at syxyz.net> wrote:

> On Friday 30 April 2004 12:23 pm, Timothy J. Luoma wrote:
>> oh.my.god.
>>
>> 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.
>
> please, enjoy it, I don't need that on my conscience :)

Once this came together, everything else seems to be working.  So, YAY!

>> For the record, here's what I have (note /ethan/daily.php was renamed
>> /ethan/ddoe.feeder.php)
>>
>> RewriteEngine on
>> RewriteBase /ethan
>> RewriteRule /daily$ ddoe.feeder.php
>> RewriteRule /daily/$ ddoe.feeder.php?$1
>> RewriteRule /daily/([0-9]+)$ ddoe.feeder.php?$1
>
> fyi all three rules could be condensed to
>
> RewriteRule /daily(/([0-9]+)?)?$ ddoe.feeder.php?$2

Well now you're just showing off :-P

> Glad to be of service.

I am reminded that sometimes "smart" means "knowing how to ask for help."

I'm glad to be back on Evolt, hopefully will be able to give out some  
help, not just receive.

Thanks again.

TjL


More information about the thelist mailing list