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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > LSWS + Varnish on cpanel

Reply
 
Thread Tools Display Modes
  #1  
Old 12-29-2012, 04:56 AM
mr_cygi mr_cygi is offline
New Member
 
Join Date: Dec 2012
Posts: 4
Default LSWS + Varnish on cpanel

Hi,

We have LSWS + Varnish on cpanel. LSWS is listen on port 8080 and Varnish is listen on port 80. A lot of websites have problem with adding port 8080 to url when reload website oraz click dynamic generated links like in phpBB or something like this. I think that good idea is listening LSWS only on localhost on port 80, but how we can do it?

Best regards.
Reply With Quote
  #2  
Old 12-31-2012, 11:09 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
Basically, LSWS reads httpd.conf generated by cPanel. So you can NOT dictate LSWS only listens on localhost unless you have all the vhosts bound to localhost. For shared hosting (multiple vhosts), it is impossible.

If you are looking for website speedup, keep in mind that LSWS Enterprise (2CPU & above) comes with cache function which covers dynamic page (like php) caching. Static page caching is available for all LSWS versions.

You can also try opcode cache (APC, xCache, etc) with LSWS suEXEC daemon mode to enable opcode cache in the shared hosting environment. See more details below:

http://blog.litespeedtech.com/2012/0...c-daemon-mode/
Reply With Quote
  #3  
Old 12-31-2012, 11:19 AM
mr_cygi mr_cygi is offline
New Member
 
Join Date: Dec 2012
Posts: 4
Thx for reply. Hmm so is not possible to use LSWS with VARNISH? Varnish can use RAM MEM for caching - this is very important to save disk i/o. What about LSWS caching?
Reply With Quote
  #4  
Old 12-31-2012, 11:37 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
LSWS caching can use RAM disk as well. Just point cache storage path to the shared mem disk.
Reply With Quote
  #5  
Old 12-31-2012, 01:21 PM
mr_cygi mr_cygi is offline
New Member
 
Join Date: Dec 2012
Posts: 4
Ok, great - I will try it. Thx.
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:03 AM.



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