[dev] Automatic detection of mod_rewrite?

Jan Schneider jan at horde.org
Thu Mar 2 02:14:16 PST 2006


Zitat von Vilius Šumskas <vilius at lnk.lt>:

> 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!

Agreed, but are we alays allowed to have use RewriteEngine in  
.htaccess, or does this require a certain Apache setting?

Jan.

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



More information about the dev mailing list