[dev] Automatic detection of mod_rewrite?

Jan Schneider jan at horde.org
Sat Mar 4 08:40:24 PST 2006


OK.
----- Nachricht von chuck at horde.org -----


> Quoting Jan Schneider <jan at horde.org>:
>
>>>>> What do you think of doing away with the halfway PATH_INFO method, in
>>>>> any case?
>>>>
>>>> Hm, I still like it as a not-so-bad solution where PATH_INFO doesn't
>>>> work. But I don't have strong feelings for or against it.
>>>
>>> Do you mean where mod_rewrite doesn't work?
>>
>> Eh, of course.
>
> Okay, so here's my line of thinking:
>
> 1. mod_rewrite obviously gives the prettiest urls
> 2. There aren't _that_ many servers that support PATH_INFO that
> support mod_rewrite.
> 3. PATH_INFO is even disabled in some newer apache builds and distributions.
> 4. If the GET method isn't pretty, we can make it better - if
> PATH_INFO works, we can make a simple GET string work.
> 5. Maintaining more code paths than we need to is bad.
>
> Since we have to have GET as the baseline, and mod_rewrite means we
> can use the same parsing (URLs get rewritten to what we'd expect via
> GET), PATH_INFO seems expendable to me.
>
> -chuck
>
> --
> "we are plastered to the windshield of the bus that is time." - Chris
>
> --
> Horde developers mailing list - Join the hunt: http://horde.org/bounties/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>
>


Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list