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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > Ssi & Php

Reply
 
Thread Tools Display Modes
  #1  
Old 07-02-2009, 03:28 AM
priestjim priestjim is offline
Senior Member
 
Join Date: Mar 2009
Location: Athens, Greece
Posts: 60
Default Ssi & Php

A client of ours is experiencing an issue with SSI & PHP scripts. In an .shtml page (including SSI code) he needed to include php code so he uploaded an .htaccess file with the following:

AddType application/x-httpd-php5 shtml

But instead of running through PHP and SSI, the page now only runs through PHP.

In his local Apache environment, this worked as expected.
__________________
Web hosting, Domain Names, VPS and Dedicated Servers in one of the most secure, reliable, fast and low-cost web hosting services in the European market.

:: dnHost Interactive Agency :: Supporting and providing Litespeed Web Server in all shared hosting and VPS servers since 2008 ::
Reply With Quote
  #2  
Old 07-02-2009, 10:09 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
LiteSpeed can only use one script engine, either SSI or PHP, cannot be both. Not sure how Apache does that.
Reply With Quote
  #3  
Old 07-02-2009, 11:48 PM
priestjim priestjim is offline
Senior Member
 
Join Date: Mar 2009
Location: Athens, Greece
Posts: 60
It hit me as strange too, but the client claims it works for him so I had to ask...

Thanks anyway!
__________________
Web hosting, Domain Names, VPS and Dedicated Servers in one of the most secure, reliable, fast and low-cost web hosting services in the European market.

:: dnHost Interactive Agency :: Supporting and providing Litespeed Web Server in all shared hosting and VPS servers since 2008 ::
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 03:58 PM.



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