[dev] Automatic detection of mod_rewrite?

Vilius Šumskas vilius at lnk.lt
Wed Mar 1 10:46:05 PST 2006


Hello Chuck,

Wednesday, March 1, 2006, 8:36:09 PM, you wrote:

> Right now in a couple of applications (Chora, Wicked, etc.) we have 3
> options for URLs - pretty with mod_rewrite, half-pretty with  
> PATH_INFO, and fallback to GET. It finally occurred to me that we can
> detect mod_rewrite automatically (using  
> http://www.php.net/manual/en/function.apache-get-modules.php), so what
> would people think of removing the need to configure this, and using  
> mod_rewrite if available, and GET otherwise?

That'd be great!

> PATH_INFO seems like a
> middle ground that could be removed now that we have the mod_rewrite  
> option.

More over it is deprecated in Apache2 and PHP > 4.3.2

-- 
Best regards,
 Vilius



More information about the dev mailing list