"Apache compatible .htaccess support"

Discussion in 'Bug Reports' started by sysadm, Oct 4, 2010.

  1. sysadm

    sysadm Active Member

    During some period of time we have to use both Apache and Litespeed on one
    server. We need some segments of httpd.conf to be differend on each
    webserver but otherwise we share the same httpd.conf. I see Litespeed
    can't handle properly IfModule conditions for example in .htaccess files.

    I can put this into my .htaccess:

    <IfModule mod_nonexistent.c>
    AllowOverride All

    ...and AllowOverride should never be parsed.
    Apache don't pass this condition but Litespeed does!

    This is serious incompatibility, as Litespeed specifications says "Apache
    compatible .htaccess support"

    Thank you for help.
  2. mistwang

    mistwang LiteSpeed Staff

    We will add a configuration option to ignore modules specified.
  3. NiteWave

    NiteWave Administrator

    in today's 4.0.17 build, has added an option "Ignore Apache Modules" under Server->General->Using Apache Configuration File

    please test at your case.
  4. sysadm

    sysadm Active Member

    It doesn't work.

    My .htacccess:

    <IfModule mod_nonexistent.c>
    RegisterGlobals Off

    register globals is locally Off (default global value in php.ini is On) no matter of ignore apache modules option value (i've tried to set it to mod_nonexistent, mod_nonexistent.c, both of these.

    EDIT: Issue with "Ignored Apache Modules" moved to dedicated topic=4413
    Last edited: Oct 26, 2010

Share This Page