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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Apache+litespeed at the same time

Reply
 
Thread Tools Display Modes
  #1  
Old 11-19-2009, 11:49 AM
sysadm sysadm is offline
Member
 
Join Date: Nov 2009
Posts: 35
Default Apache+litespeed at the same time

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
Reply With Quote
  #2  
Old 11-19-2009, 11:51 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
fastcgi PHP does not support php_value at all, no matter where you put it.
Only Apache mod_php and LiteSpeed PHP support it.
Reply With Quote
  #3  
Old 11-19-2009, 12:01 PM
sysadm sysadm is offline
Member
 
Join Date: Nov 2009
Posts: 35
Quote:
Originally Posted by mistwang View Post
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
Reply With Quote
  #4  
Old 11-19-2009, 12:04 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
wrap the directive with <IfModule ...> so Apache will skip it when mod_php is not compiled in.
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 09:13 PM.



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