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.
376
CentOS 7 Problems / Re: ClamAV Can't update
« on: May 27, 2020, 06:47:01 PM »
now reinstall clamav-server and make sure no errors
377
CentOS 7 Problems / Re: ClamAV Can't update
« on: May 27, 2020, 06:36:30 PM »
yum clean all
yum remove clamav-server
post response
yum remove clamav-server
post response
378
CentOS 7 Problems / Re: ClamAV Can't update
« on: May 27, 2020, 06:27:38 PM »
try
yum clean all
then retry those 3 commands
yum clean all
then retry those 3 commands
379
CentOS 7 Problems / Re: ClamAV Can't update
« on: May 27, 2020, 06:04:00 PM »
yum remove clamav
yum update
yum install clamav
yum update
yum install clamav
380
CentOS 7 Problems / Re: ClamAV Can't update
« on: May 27, 2020, 05:57:56 PM »
Try running yum update to get a list of fresh packages.
381
Other / Re: Modrewrite throws 500 error with php 5.6 but not with 7.x
« on: May 27, 2020, 03:55:14 PM »
Additonal Info. You really should Quote the Rule. This should be your lines for ANY php version. As noted above, you should have a RewriteCond for each script?.php file so that you prevent apache from an endless loop.
RewriteRule "^([0-9] )/(.*)-([0-9] )\.html$ script1.php?cat_id=$1&page=$3" [NC,L]
# rewrites the script2.php URLs using P- and /
RewriteRule "^P-([0-9] )/(.*)\.html$ script2.php?id=$1" [NC,L]
# rewrites the script3.php URLs
RewriteRule "^([0-9] )-(.*)\.html$ script3.php?id=$1" [NC,L]
RewriteRule "^([0-9] )/(.*)-([0-9] )\.html$ script1.php?cat_id=$1&page=$3" [NC,L]
# rewrites the script2.php URLs using P- and /
RewriteRule "^P-([0-9] )/(.*)\.html$ script2.php?id=$1" [NC,L]
# rewrites the script3.php URLs
RewriteRule "^([0-9] )-(.*)\.html$ script3.php?id=$1" [NC,L]
382
Other / Re: Modrewrite throws 500 error with php 5.6 but not with 7.x
« on: May 27, 2020, 02:16:23 PM »
Try adding RewriteCond %{REQUEST_URI} !/script\.php$
383
PHP / Re: using php
« on: May 27, 2020, 08:55:28 AM »
You use ONE version of PHP without pro. You only have access to the PHP Switcher. With pro, you have the option of php-fpm, which allows your to switch php version per account/domain, and also switch options fore each domain.
384
Installation / Re: Problems with Postfix MySQL
« on: May 27, 2020, 05:51:16 AM »
CWP Admin -> Email -> Mailserver Manager
Rebuild postfix
Only supported solution this forum will provide. Anything you do via SSH is unsupported.
Rebuild postfix
Only supported solution this forum will provide. Anything you do via SSH is unsupported.
385
Postfix / Re: warning: database /etc/postfix/vmail_ssl.map.db is older than source file /etc/p
« on: May 26, 2020, 10:21:25 AM »
chown root:mail both of those files
386
CentOS 7 Problems / Re: Urgent! Trouble with Apache or Virtual Hosts with multiple sites after importing
« on: May 26, 2020, 03:56:16 AM »
do a little experiment.
Use google chrome, and add the extension "Host Switch Plus"
Add the domain with the direct IP of the server (Instead of through CF). If the vhosts load direct, there may be an issue with CF.
If your not comfortable with this step, PM me with one of the domains and the server IP, and I'll have a look.
Use google chrome, and add the extension "Host Switch Plus"
Add the domain with the direct IP of the server (Instead of through CF). If the vhosts load direct, there may be an issue with CF.
If your not comfortable with this step, PM me with one of the domains and the server IP, and I'll have a look.
387
CentOS 7 Problems / Re: Urgent! Trouble with Apache or Virtual Hosts with multiple sites after importing
« on: May 26, 2020, 03:00:07 AM »
Support really depends on your setup.
Nginx configs are under /etc/nginx/conf.d/vhosts/(Domain)(?.ssl).conf
Apache configs are under /usr/local/apache/conf.d/vhosts/(Domain)(?.ssl).conf
If there are no domain files under those directories, then you need CWP Admin -> Webservers Main Config
at the bottom check rebuild all vhosts on save, and click save
Nginx configs are under /etc/nginx/conf.d/vhosts/(Domain)(?.ssl).conf
Apache configs are under /usr/local/apache/conf.d/vhosts/(Domain)(?.ssl).conf
If there are no domain files under those directories, then you need CWP Admin -> Webservers Main Config
at the bottom check rebuild all vhosts on save, and click save
388
PHP Selector / Re: Error php-fpm whmcs 503 Service Unavailable
« on: May 26, 2020, 01:01:14 AM »
systecmctl start php-fpm(version) ex: php-fpm73
389
CWP API / Re: integration with Wisecp (domain + webhosting)
« on: May 25, 2020, 06:52:33 PM »
Cwp should setup the hosting using the new domain. You will have to programably set the nameservers of the domain with the registrar to use your servers nameservers.
390
Backup / Re: New Backup 2
« on: May 25, 2020, 05:29:57 PM »
tail -n 100 /var/log/cwp/cron_backup.log post here