Apache+litespeed at the same time

sysadm

Active Member
#1
I must have both Apache and Litespeed running at the sam time.

Some of .htaccess php_value's direcives are not recognized by my Apache(php-fcgi).

Is this possible to do something like that in .htaccess?
Code:
<ifModule litespeed_loaded.c>
php_value something On
#^this is not recognized by Apache
</ifModule>

Regards,
sysadm
 

sysadm

Active Member
#3
fastcgi PHP does not support php_value at all, no matter where you put it.
Only Apache mod_php and LiteSpeed PHP support it.

Exactly. But I need to add php_value in .htaccess and hide this for Apache(php-fcgi). Litespeed should see this directive. Apache shouldn't. How to do it?

Apache(php-fcgi) won't start with something like php_value in .htaccess. I want to make this directive visible only for Litespeed
 
Top