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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Isolating Cpanel User into their own vhost

Reply
 
Thread Tools Display Modes
  #1  
Old 09-01-2009, 04:19 AM
felosi felosi is offline
Senior Member
 
Join Date: Jun 2007
Posts: 249
Default Isolating Cpanel User into their own vhost

I remember back a fw versions ago when like if you imported apache config wrong it would put everyone into their own virtual host which was pretty cool but the server didnt work right with it.

Would be nice if that would do that now. But anyway, what I got now is a user who has a site with a lot of images and such which causes their visitors to build up a lot of connections resulting in lots of users being blocked under normally perfect security settings.

Would it be possible to remove this user from apache config and make them into a litespeed virtual host where they are not effected by the global settings and have their own security settings on connections and such? Is that possible?
Reply With Quote
  #2  
Old 09-01-2009, 02:49 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
You can configure a vhost natively in LSWS with the same domain as cPanel's vhost configuration, the vhost configured natively has higher priority.
You need to create the listener and add the binding in LSWS as well.
Reply With Quote
  #3  
Old 09-01-2009, 03:47 PM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 729
George, I think it'd be nice to be able to exclude certain extensions from the throttling limits. Mod_limitipconn for Apache has this feature. Quite a few people have requested it in the past. Please.
Reply With Quote
  #4  
Old 09-01-2009, 07:00 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
It is on our to-do list.
Reply With Quote
  #5  
Old 09-01-2009, 07:58 PM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 729
Great, hope it makes it into the 4.1 release.
Reply With Quote
  #6  
Old 09-04-2009, 12:41 PM
MikeDVB MikeDVB is offline
Senior Member
 
Join Date: Jul 2009
Posts: 218
In my hosting of well over 2,000 sites I've never seen the throttling affect a user's site except when the limits were set exceptionally low.

Most sites make between 20 and 100 requests and we tend to set the limit to around 150~300 as we can always of course throttle this down if we come under attack.

I do agree that it would be nice to implement the throttling on a per-extension or per-mime-type basis but it's not something that I would see as urgent personally. Of course your opinions may vary
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 01:52 AM.



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