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

Go Back   LiteSpeed Support Forums > External Applications > Apache Migration/Compatibility > Suspending accounts on cPanel

Reply
 
Thread Tools Display Modes
  #1  
Old 02-27-2007, 07:43 AM
slimak slimak is offline
Senior Member
 
Join Date: Aug 2006
Posts: 67
Default Suspending accounts on cPanel

I done some tests with suspending accounts at cPanel server. I found 3 bugs/differences:
1. I created a test account with domain lsws.domain.com.
2. I created by FTP:
public_html/sub/ - directory
public_html/sub/.htaccess - empty file
public_html/sub/script.php - empty file
3. I created a subdomain in cPanel (sub.lsws.domain.com).
4. I suspended the account in cPanel.

The bugs were at:
1. http://sub.lsws.domain.com/ - there was no redirect to suspended page until lsws restart or change in public_html/sub/.htaccess
2. http://lsws.domain.com/sub/script.php - there was 403 error (should be redirect to suspended page) (the line "Options -Includes -Indexes -ExecCGI" in public_html/.htaccess works, but "RedirectMatch .* http://server_domain/suspended.page/" doesn't). Even lsws restart doesn't help for that.

I also found a difference with Apache. It occurs when account exceed its bandwidth limit and after that it will be suspend (by admin/reseller in WHM). At Apache the site will be redirected to suspended page. In lsws will be information about bandwidth exceed.

Last edited by slimak; 02-27-2007 at 07:46 AM..
Reply With Quote
  #2  
Old 02-27-2007, 09:24 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Thank you for the bug report.

Those should be fixed in the updated 3.0 package, please give it a try.
Reply With Quote
  #3  
Old 02-28-2007, 12:00 AM
slimak slimak is offline
Senior Member
 
Join Date: Aug 2006
Posts: 67
Default Answer

The bugs (1 & 2) are now removed, but the difference still occurs.
Reply With Quote
  #4  
Old 02-28-2007, 07:46 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Does cPanel uses the same error page for accounts suspended and account exceed bandwidth limit?

You can customize lsws/share/autoindex/bwlimit.html , only drawback is that it will be overwritten during a server update.

Last edited by mistwang; 02-28-2007 at 07:52 AM..
Reply With Quote
  #5  
Old 03-01-2007, 01:43 AM
slimak slimak is offline
Senior Member
 
Join Date: Aug 2006
Posts: 67
Default Answer

No, the suspended page is quite different.
Reply With Quote
  #6  
Old 03-01-2007, 07:53 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Do you have an idea about the location of the suspended page?
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:41 PM.



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