Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - hanliong

Pages: [1]
Suggestions / Providing ImunifyAV Free and or Imunify360
« on: May 04, 2021, 03:04:30 AM »
It is better is CWP provide ImunifyAV free and or Imunify360 to replace maldet scan. I have tried to install imunifyAV free but it said the panel is not compatbile.
it is good for malware detection.

By improving great feature, CWP may be able to increase the price of CWPPro


Suggestions / Providing Better full backup
« on: May 04, 2021, 02:54:39 AM »
I think it will be great if CWP has feature to full backup for all home user, mysql, and everything just like cpanel does. Then it can be restored to another CWP easily.
at this time CWP provide separate backup. Even when user try to backup from user panel, it does not show any progress or finishing file.
Customer must dump sql one by one including mail data, then create again mysql user password at the new server. It takes too long if we have many customers.

And it is better if customer's mail is moved to /home/[user], not being separated at /var/vmail/


CentOS 7 Problems / Re: PHP Defender/snuffleupagus fecks up PHP
« on: May 04, 2021, 02:38:23 AM »
I faced another problem with PHPDefender. It can be installed well. But I cant change the rule at all.
The path for the rule is: /usr/local/cwp/.conf/phpdefender/rules/
When installed I choose intermediate.
One of my site got blocked with the reason: fatal error because of usage ini_set("display_errors").
Then I open the  cwp_php_defender_interm.rules
I change the line:
#sp.disable_function.function("ini_set").param("varname").value_r("display_errors").drop() --> add comment sign, so it is ignored.

Restarting apache, but still get the same error. Then change that line to:

But still gave the same error.
So, where is actually PHPdefender store the log data and is there any file contains the locked domain, so it kept giving the same error, even when I have removed PHPdefender, the same error still show up.
And which the rules file that PHPdefender execute for real?

It is really confusing, and there is no complete documentation at CWP. Opening the site does not give any useful information.

Has CWP developer tested it before launching this feature?


CentOS 7 Problems / Re: PHPDefender permission denied
« on: May 03, 2021, 06:13:36 AM »
I have opened the ticket with number: 140213

CentOS 7 Problems / Re: PHPDefender permission denied
« on: May 03, 2021, 06:00:57 AM »
don't worry create the support ticket again if possible and add this thread link there.
Ok, Sandeep, thanks for your information. I will try to open the new ticket.


CentOS 7 Problems / Re: PHPDefender permission denied
« on: May 03, 2021, 05:32:47 AM »
notified to devs they will look into it.

I have notified the developer, but he said I have to pay for extra cost to buy CWP Support, and he will fix it for me.
Even, when I asked about the log path of PHP defender, he said I just bought CWP Pro which is not included any support. I have no idea, if just asking for the log path I have to pay for additional support. Then, he gave me the link to snuffleupagus website which CWP uses for PHP defender. But nothing can be used from the page of snuffleupagus. no log data information too, and no information about permission denied.

CWP said, I have to pay for extra support to fix it, because there is no problem at his server.
I'm so confuse. I dont ask him to modify my server or make other configuration. I just ask about CWP feature that I installed from the admn page. And it should be a bug he must fix, right? So, should I pay for extra cost for a CWP bug?


CentOS 7 Problems / PHPDefender permission denied
« on: May 03, 2021, 03:56:26 AM »
CWPPro has new feature at Security Center section, namely PHP Defender.
I have enabled it to prevent hacking attempt through PHP script.
But I got the error message: Could not open configuration file /usr/local/cwp/.conf/phpdefender/rules/cwp_php_defender_interm.rules : Permission denied
the file exist with chmod 640. Trying to change to chmod 644, but give the same error.
I use PHP selector PHP 7.3, PHP 7.4 and PHP 8.0. All of them are PHP-CGI, not PHP-FPM.

How to fix it?

I have setup CWPPro from the begining. no modified at all.
At CWP Setting -> Edit Setting, I have checked "Forward server system email"
I can receive email from outside to my email address:
But, all emails from server such as Anacron, RKHunter, CSF informations etc are queue in. It tries to send to, but fail, and bounce back as mailer-daemon with error "mail transport unavailable".
When I click on detail button next to my email address, it said "network unreachable". My email uses google apps and has no problem.

How to fix it?

E-Mail / Prevent bounce back of PHP mail to server
« on: May 02, 2021, 09:29:10 AM »
I have CWPPro with the latest update.
I can see at /var/spool/mail there are many email bounce because of PHP mail script. If PHP mail send the email and that email address does not exist, it will bounce back to usercwp@hostname, for example:, where is the server's hostname.

How to prevent it and send that bounce email to the email of account's owner? When creating a new account in CWP, we put the customer email address. So, how to forward that bounce email to onwer's email?


Pages: [1]