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

Go Back   LiteSpeed Support Forums > External Applications > Apache Migration/Compatibility > cPanel migration - .htaccess (sus.page)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-16-2006, 01:58 AM
slimak slimak is offline
Senior Member
 
Join Date: Aug 2006
Posts: 67
Default cPanel migration - .htaccess (sus.page)

Hello,
When I suspend an account, cPanel creates a .htaccess file in user public_html:
RedirectMatch .* http://serv_host_name/suspended.page/
Options -Includes -Indexes -ExecCGI
The problem is that the addons domains are still working in lsws. The addon domain root dir is: /home/$user/public_html/$domain, so the lsws isn't looking for .htaccess in /home/$user/public_html, like does it Apache.

The second problem is, when I unsuspend an account. The redirect is still working until I remove the .htaccess file by hand (cPanel leave an empty .htaccess).
Reply With Quote
 

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 11:10 PM.



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