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
  #11  
Old 12-29-2006, 04:12 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Firefox blocked access to port 79.
Not sure about the IE error. Is port 79 blocked by firewall? open a dos prompt and try "telnet <ip> 79" see if you can connect to the server.
If you can, it probably is something wrong with the httpd.conf.

3.0RC1 package has been updated to address a configuration issue related to shtml forwarding. Please update.
Reply With Quote
  #12  
Old 12-29-2006, 04:15 PM
surfman surfman is offline
Member
 
Join Date: Dec 2006
Posts: 27
after changing port to 78, seems ok.

however, when I clicked any links to a shtml page, it seems still with litespeed, not sent to Apache.

I already setup the correct settings for external app, i.g. localhost:78, and script handler for suffix "shtml". also restarted lsws, it's ok when I enter by hand at browser, like, http://www.mydomain.com:78

but when I visit http://www.mydomain.com, it always stays with litespeed.

I am using 2.26 std. do I have to updated to 3.0RC1?

Last edited by surfman; 12-29-2006 at 04:20 PM..
Reply With Quote
  #13  
Old 12-29-2006, 08:45 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Yes, 2.2.6 may not work well, latest 3.0RC1 works.
Reply With Quote
  #14  
Old 12-30-2006, 06:20 AM
surfman surfman is offline
Member
 
Join Date: Dec 2006
Posts: 27
updated to 3.0RC1, the problem is still there.

when I visit

http://mydomain.com:78

it's fine. that means apache works fine at port 78

when I visit

http://www.mydomain.com

it shows "There is no website configured at this address" from cpanel.

but when I visit

http://www.mydomain.com/anyfolder

even

http://www.mydomain.com/anyfile.html

all are working fine, just shtml can not be visited. My default index file is a shtml page, so, the said error page is shown instead of showing a normal .shtml page.

I checked external apps settings and script handler, all settings are correct. it seems litespeed sends shtml file to somewhere where can not be processed correctly.

My apache is 1.3.34.

My external apps:

Type Name Address
Web Server Apache13 localhost:78

and script handler:

Suffixes Handler Type Handler Name
shtml Web Server [Server Level]: Apache13

the above info is for your reference.

any suggestion? thanks.

Last edited by surfman; 12-30-2006 at 12:23 PM..
Reply With Quote
  #15  
Old 12-30-2006, 12:13 PM
surfman surfman is offline
Member
 
Join Date: Dec 2006
Posts: 27
a little further info for the problem.

after I removed external apps and script handler,

http://www.mydomain.com

is working under litespeed. for sure, there are SSI missing on my each shtml page.

alright, I added back external apps and script handler,

http://www.mydomain.com

shows the said error page from Cpanel. I traced the error, it comes from

/usr/local/apache/htdocs

Seems litespeed send shtml to apache at port 78. but apache failed to parse job for shtml. although, if I directly visit

http://www.mydomain.com:78

all shtml pages are working fine. any idea to fix it? thanks.
Reply With Quote
  #16  
Old 12-30-2006, 04:45 PM
surfman surfman is offline
Member
 
Join Date: Dec 2006
Posts: 27
well, well, well, finally, it works. I even have no idea how I fixed it. the settings are as same as that stated in my previous post. but it works!

Anyway, thanks to the owesome software. let my server drop server load from more than 50 to about 7 or 8 at this moment.

I will continue to install APC or eaccelerator later to get max performance.
Reply With Quote
  #17  
Old 12-30-2006, 08:04 PM
surfman surfman is offline
Member
 
Join Date: Dec 2006
Posts: 27
so weird!

After having been working about 3 hours,

http://www.mydomain.com

is showing "There is no website configured at this address" from cpanel again. Although

http://www.mydomain.com:78

is still working, as same as before.

I did nothing about it after it works. any idea on this strange thing? thanks.
Reply With Quote
  #18  
Old 12-30-2006, 08:24 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
I think the problem probably is the namevirtualhost, if you only host one web site on one IP, you don't have to use namedvirtualhost. And in the <VirtualHost ...> directive, see if you can get rid of the port number only leave the IP address.

The problem probably is because LSWS send Apache Host header with "www.mydomain.com", but Apache only like "www.mydomain.com:78".
Reply With Quote
  #19  
Old 12-30-2006, 08:51 PM
surfman surfman is offline
Member
 
Join Date: Dec 2006
Posts: 27
Default my VirtualHost settings:

All my.ip.addre.ss is one same IP

PHP Code:
NameVirtualHost my.ip.addre.ss:78
<VirtualHost my.ip.addre.ss>
ServerAlias mydomain.net
ServerAdmin webmaster
@mydomain.net
DocumentRoot 
/home/myusername/public_html
BytesLog domlogs
/mydomain.net-bytes_log
ServerName www
.mydomain.net

User myusername
Group myusername
CustomLog 
/usr/local/apache/domlogs/mydomain.net combined
ScriptAlias 
/cgi-bin/ /home/myusername/public_html/cgi-bin/
</
VirtualHost>


<
VirtualHost my.ip.addre.ss>
ServerAlias www.blogs.mydomain.net
ServerAdmin webmaster
@blogs.mydomain.net
DocumentRoot 
/home/myusername/public_html/blogs
BytesLog domlogs
/blogs.mydomain.net-bytes_log
ServerName blogs
.mydomain.net

User myusername
Group myusername
CustomLog 
/usr/local/apache/domlogs/blogs.mydomain.net combined
ScriptAlias 
/cgi-bin/ /home/myusername/public_html/blogs/cgi-bin/
</
VirtualHost>


<
VirtualHost my.ip.addre.ss>
ServerAlias www.classifieds.mydomain.net
ServerAdmin webmaster
@classifieds.mydomain.net
DocumentRoot 
/home/myusername/public_html/classifieds
BytesLog domlogs
/classifieds.mydomain.net-bytes_log
ServerName classifieds
.mydomain.net

User myusername
Group myusername
CustomLog 
/usr/local/apache/domlogs/classifieds.mydomain.net combined
ScriptAlias 
/cgi-bin/ /home/myusername/public_html/classifieds/cgi-bin/
</
VirtualHost
Reply With Quote
  #20  
Old 12-30-2006, 09:01 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
try getting rid of "NameVirtualHost my.ip.addre.ss:78", see if it helps.

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:12 PM.



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