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).
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).