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 - overseer

Pages: 1 ... 62 63 [64] 65 66 ... 71
946
DNS / Re: DigitalOcean DNS or CWP7 DNS?
« on: January 30, 2023, 04:37:55 AM »
I guess it depends on if you are already using the Cloudflare infrastructure -- DDoS protection, caching, optimization, etc. If so it totally makes sense to use their 1.1.1.1 DNS. Since I'm using their DNS servers for my domains, changes are near instantaneously propagated worldwide.

947
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

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

949
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:

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.

950
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?

951
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?

952
CentOS 7 Problems / Re: Change Server Date & Time
« on: January 29, 2023, 05:59:45 PM »
Thanks for the link -- I double checked all my servers and one was off, so that was helpful!

For reference, to check your system timezone:
Code: [Select]
timedatectlTo set your timezone:
Code: [Select]
sudo timedatectl set-timezone America/New_York

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

954
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:
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/

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

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

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

958
You should be able to remove this code from the relevant virtual host config file:
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


959
You could encode php scripts in IonCube; that's what CWP does!

960
Information / Re: Install or download older version of CWP?
« on: January 27, 2023, 12:39:26 AM »
If you insist ;)
Code: [Select]
curl -O http://static.cdn-cwp.com/files/cwp/el7/cwp-el7-0.9.8.1146.zip

Pages: 1 ... 62 63 [64] 65 66 ... 71