LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Apache Migration/Compatibility (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=24)
-   -   Conditions in htaccess only litespeed will follow (http://www.litespeedtech.com/support/forum/showthread.php?t=6074)

qnFHUU 07-08-2012 05:14 PM

Conditions in htaccess only litespeed will follow
 
I create software that is used by thousands of Web sites. In the past I have been telling to customers to use a better httpd daemon. I am finally willing to support litespeed. In order to do this, I need a way to create conditions in htaccess that litespeed will process but apache will not. This is necessary because of the buggy, poor, incomplete, bastardization of htaccess support that litespeed has.

So, does anyone know of a way I can do this?

For example:

<IfModule mod_litespeed.c>
# litespeed stuff here
</IfModule>

The above does not work of course, so what method can be used?

qnFHUU 07-08-2012 05:21 PM

Default Conditions in htaccess only litespeed will follow
 
I create software that is used by thousands of Web sites. In the past I have been telling to customers to use a better httpd daemon. I am finally willing to support litespeed. In order to do this, I need a way to create conditions in htaccess that litespeed will process but apache will not. This is necessary because of the buggy, poor, incomplete, bastardization of htaccess support that litespeed has.

So, does anyone know of a way I can do this?

For example:

<IfModule mod_litespeed.c>
# litespeed stuff here
</IfModule>

The above does not work of course, so what method can be used?


btw, the other thread (http://www.litespeedtech.com/support...ead.php?t=6072) can be deleted as it is in the wrong forum.

NiteWave 07-08-2012 07:31 PM

hi, I did test,

for included rules,
<IfModule mod_litespeed.c>
# litespeed stuff here
</IfModule>

working in litespeed and ignored by apache, so yours just ok.

also tested, following OK too:
<IfModule litespeed>
# litespeed stuff here
</IfModule>


All times are GMT -7. The time now is 05:02 PM.