[dev] Automatic detection of mod_rewrite?

Chuck Hagenbuch chuck at horde.org
Wed Mar 1 10:36:09 PST 2006


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? PATH_INFO seems like a  
middle ground that could be removed now that we have the mod_rewrite  
option.

-chuck

-- 
"we are plastered to the windshield of the bus that is time." - Chris


More information about the dev mailing list