LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > "Apache compatible .htaccess support"

Reply
 
Thread Tools Display Modes
  #1  
Old 10-04-2010, 10:23 AM
sysadm sysadm is offline
Member
 
Join Date: Nov 2009
Posts: 35
Default "Apache compatible .htaccess support"

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.
Reply With Quote
  #2  
Old 10-04-2010, 10:53 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
We will add a configuration option to ignore modules specified.
Reply With Quote
  #3  
Old 10-04-2010, 11:25 PM
NiteWave NiteWave is online now
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,293
in today's 4.0.17 build, has added an option "Ignore Apache Modules" under Server->General->Using Apache Configuration File

Quote:
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.
Reply With Quote
  #4  
Old 10-11-2010, 04:47 AM
sysadm sysadm is offline
Member
 
Join Date: Nov 2009
Posts: 35
Quote:
Originally Posted by NiteWave View Post
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 by sysadm; 10-26-2010 at 03:25 PM..
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:26 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.