[dev] Automatic detection of mod_rewrite?

Vilius Šumskas vilius at lnk.lt
Thu Mar 2 04:19:13 PST 2006


Jan Schneider <jan at horde.org> rašė:

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

As far as I know, .htaccess files are not read at all if you specified  
AllowOverride None for that directory in httpd.conf.

-- 
   Best Regards,

   Vilius



More information about the dev mailing list