Better mod_rewrite compatibility

Discussion in 'Bug Reports' started by matt, Oct 26, 2005.

  1. matt

    matt Active Member

    Many programs that use mod_rewrite (like WordPress) do the rules like this:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php
    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?
  2. mistwang

    mistwang LiteSpeed Staff

    Really? Our current release should ignore <IfModule ...> and </IfModule> directives. :) Can you please double check? Thanks!
  3. matt

    matt Active Member

    I'll double-check the ifmodule line.

Share This Page