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

Go Back   LiteSpeed Support Forums > External Applications > Apache Migration/Compatibility > Apache working with Litespeed?

Reply
 
Thread Tools Display Modes
  #1  
Old 12-28-2006, 01:56 PM
surfman surfman is offline
Member
 
Join Date: Dec 2006
Posts: 27
Default Apache working with Litespeed?

Apache working with Litespeed?

Due to Litespeed does not support SSI. can I do this way under Cpanel/WHM:

1) keep Apache running for SHTML file only
2) Litespeed running for all other pages and PHP programs?
3)both Apache and Litespeed will be installed on one server.

is that OK? please let me know how to do it if it's ok.

thanks.
Reply With Quote
  #2  
Old 12-28-2006, 04:14 PM
surfman surfman is offline
Member
 
Join Date: Dec 2006
Posts: 27
one more thing,

4) is there any way to force apache to send all visitors who visit non-shtml files/pages to a designed port powered by litespeed?

say, when a user visits www.mysite.com/123.shtml , apache will take care of it.
if the user visits www.mysite.com/vbulletin_forum/ , he will be sent to www.mysite.com:8088/vbulletin_forum

is that ok? thanks.

Last edited by surfman; 12-28-2006 at 04:22 PM..
Reply With Quote
  #3  
Old 12-28-2006, 08:33 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Actually, you should let lsws forward request to .shtml to apache via the reverse proxy interface. it should work better this way.
Reply With Quote
  #4  
Old 12-29-2006, 05:35 AM
surfman surfman is offline
Member
 
Join Date: Dec 2006
Posts: 27
I checked the demo, saw there are some options for type web server under external app option:

I have no ideal to enter address, environment, and how to let LSWS know it need forward the request to .shtml to apache.

could you give me an example? I am totally new to LSWS. thanks.

Last edited by surfman; 12-29-2006 at 06:40 AM..
Reply With Quote
  #5  
Old 12-29-2006, 09:10 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
For example,
1. run apache or port 81 or whatever port you'd like, just not 80
2. define a web server external app, address should be "127.0.0.1:81". no need to set "environment".
3. add a script handler for suffix "shtml", using the web server external app as handler. If can be done at server level or vhost level.

If any question, please read the online help first for each individual configuration option.
Reply With Quote
  #6  
Old 12-29-2006, 09:34 AM
surfman surfman is offline
Member
 
Join Date: Dec 2006
Posts: 27
got it.

But I got another problem. I changed port value in apache httpd.conf

port 80 ==> port 8080

after that, when I visit my site, got

"There is no website configured at this address" shown.

do I have to change

NameVirtualHost IP.IP.IP.IP:80

to

NameVirtualHost IP.IP.IP.IP:8080 as well?

thanks.
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 04:53 PM.



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