Better mod_rewrite compatibility

matt

Active Member
#1
Many programs that use mod_rewrite (like WordPress) do the rules like this:

Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php
</IfModule>
This works, but only if I comment out the IfModule lines. Should support for this be added since you're effectively support everything mod_rewrite does?
 

mistwang

LiteSpeed Staff
#2
This works, but only if I comment out the IfModule lines. Should support for this be added since you're effectively support everything mod_rewrite does?
Really? Our current release should ignore <IfModule ...> and </IfModule> directives. :) Can you please double check? Thanks!
 
Top