"Apache compatible .htaccess support"

sysadm

Active Member
#1
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
</IfModule>

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

NiteWave

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

Ignore Apache Modules
Specifies a list of Apache modules that should be ignored by LiteSpeed while parsing Apache configuration file. LiteSpeed will treat the listed modules as unsupported; configuration directives enclosed in ... will be ignored.

Syntax: comma delimited list of module names
please test at your case.
 

sysadm

Active Member
#4
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.
It doesn't work.

My .htacccess:

<IfModule mod_nonexistent.c>
RegisterGlobals Off
</IfModule>

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:
Top