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.
1081
CentOS 7 Problems / Re: Change Server Date & Time
« on: January 30, 2023, 02:42:07 AM »
Military background, eh? Not Greenwich, London, UK?
https://time.is/Z
https://time.is/Z
1082
Suggestions / Re: Cwp.user branding logo in CWP.Pro systems.
« on: January 29, 2023, 11:59:16 PM »
Hover over the broken image icon and see the path the link is looking for the logo.
1083
SSL / Re: Why SSL Doesn't work with WWW version of Website?
« on: January 29, 2023, 11:57:06 PM »
The difference between an A record vs CNAME is an extra DNS lookup. In case of the CNAME the after figuring out that www is a CNAME to example.com, another look will be done for example.com.
If you are planning on using a CDN or a 3 party acceleration service (Cloudflare), then a CNAME becomes important. Example a lookup of www.google.com results in the following. See the difference in TTL of www.l.google.com and www.google.com:
In this case, it doesn't matter since both are pointing both to the same IP (domain=www) -- as is commonly the case with smaller sites.
If you are planning on using a CDN or a 3 party acceleration service (Cloudflare), then a CNAME becomes important. Example a lookup of www.google.com results in the following. See the difference in TTL of www.l.google.com and www.google.com:
Code: [Select]
www.google.com. 36545 IN CNAME www.l.google.com.
www.l.google.com. 294 IN A 209.85.153.104
This gives the flexibility of changing the A record, keeping a lower TTL, doing fancy stuff like geo-redirection, if using 3rd party services.In this case, it doesn't matter since both are pointing both to the same IP (domain=www) -- as is commonly the case with smaller sites.
1084
CentOS-WebPanel GUI / Re: How to fix Importing Customizer Settings error
« on: January 29, 2023, 10:58:51 PM »
Did you set your WordPress permissions according to the WP documentation recommendations?
1085
CentOS 7 Problems / Re: inner page url not working
« on: January 29, 2023, 10:57:18 PM »
is the page URL generated from a script (PHP) or does it reference an actual path in the file tree?
1087
Backup / Re: BUG? Backup BETA vmail more than 2GB
« on: January 29, 2023, 04:24:31 PM »
This a good reason for manual backups. I use rsync to backup /var/vmail to another server offsite, but you could use it to backup mail locally to the same disk in another location.
1088
E-Mail / Re: spamassassin.service: Failed with result 'start-limit-hit'
« on: January 29, 2023, 12:52:38 PM »
The -d option for spamassassin is for "daemonize" or, run as a background service.
If you edit the /etc/sysconfig/spamassassin file according to the wiki, you will want to do your main configuration changes to:
/etc/spamassassin/local.cf
A few directives to get it working:
If you do want to use the additional configuration in /usr/share/spamassasin, you will also have to add this directive in your /etc/spamassassin/local.cf main config file:
If you edit the /etc/sysconfig/spamassassin file according to the wiki, you will want to do your main configuration changes to:
/etc/spamassassin/local.cf
A few directives to get it working:
Code: [Select]
rewrite_header Subject *SPAM*
report_safe 0
required_score 5.0
required_hits 5.0
use_bayes 1
bayes_auto_learn 1
bayes_ignore_header X-Bogosity
bayes_ignore_header X-Spam-Flag
bayes_ignore_header X-Spam-Status
If you do want to use the additional configuration in /usr/share/spamassasin, you will also have to add this directive in your /etc/spamassassin/local.cf main config file:
Code: [Select]
include /usr/share/spamassassin/
1089
DNS / Re: DigitalOcean DNS or CWP7 DNS?
« on: January 29, 2023, 06:51:41 AM »
/etc/resolv.conf
But if you're using NetworkManager, you may want to go in and edit your NM config via nmtui and it will generate it for you.
But if you're using NetworkManager, you may want to go in and edit your NM config via nmtui and it will generate it for you.
1090
Information / Re: Install or download older version of CWP?
« on: January 29, 2023, 06:45:15 AM »
That's just to download the old version via cURL. I suppose if you want to stop updates, you could set the CWP update server(s) as 0.0.0.0 in the /etc/hosts file.
1091
SSL / Re: DNS of your domain doesn't point to this server or you have htaccess restriction
« on: January 29, 2023, 12:30:28 AM »
Turn off the CSF/LDF firewall temporarily and see if that works.
If not, you may have a 301 redirect rule in your virtual host config file (either Apache or Nginx) that redirects traffic from http to https. Disable that rule temporarily (comment out or remove it) and restart the web server.
If not, you may have a 301 redirect rule in your virtual host config file (either Apache or Nginx) that redirects traffic from http to https. Disable that rule temporarily (comment out or remove it) and restart the web server.
1092
Other / Re: How to disable Phpmyadmin, webmail and webhosting panel login page for one domai
« on: January 29, 2023, 12:28:10 AM »
You should be able to remove this code from the relevant virtual host config file:
https://111.111.111.111/pma
https://111.111.111.111:2031/pma
https://111.111.111.111:2083
http://111.111.111.111:2095
https://111.111.111.111:2096
Code: [Select]
ProxyPassReverse / http://127.0.0.1:2095/
RewriteRule ^/roundcube$ /roundcube/ [R]
ProxyPass /roundcube/ https://127.0.0.1:2031/roundcube/
ProxyPassReverse /roundcube https://127.0.0.1:2031/roundcube/
RewriteRule ^/pma$ /pma/ [R]
ProxyPass /pma/ https://127.0.0.1:2031/pma/
ProxyPassReverse /pma https://127.0.0.1:2031/pma/
ProxyPass / https://127.0.0.1:2083/
ProxyPassReverse / https://127.0.0.1:2083/
This wouldn't stop them from accessing the server IP address with those ports, however:https://111.111.111.111/pma
https://111.111.111.111:2031/pma
https://111.111.111.111:2083
http://111.111.111.111:2095
https://111.111.111.111:2096
1093
Suggestions / Re: Add a plugin that preventd developers from downloading the site source code
« on: January 27, 2023, 04:26:55 AM »
You could encode php scripts in IonCube; that's what CWP does!
1094
Information / Re: Install or download older version of CWP?
« on: January 27, 2023, 12:39:26 AM »1095
Information / Re: Install or download older version of CWP?
« on: January 26, 2023, 12:37:58 AM »
Not recommended, as 0.9.8.11.47 and previous contained a 9.8 severity exploit potential.