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 ... 17 18 [19] 20 21 ... 60
271
Are you using the OWASP or Comodo ruleset with ModSecurity? Comodo is recommended for mere mortals as a starting point; less false-positives and more permissive by default.

272
Installation / Re: Reverse proxy?
« on: September 16, 2023, 06:42:47 PM »
What's your overall goal?
CWP offers Nginx if you want to use it as a reverse proxy on the server itself.

273
CentOS 7 Problems / Re: Google indexing link to CWP
« on: September 16, 2023, 06:41:31 PM »
Sorry, I should've checked for you, but those CWP directories themselves are immutable already. So start by removing the immutable bit on the directories:
Code: [Select]
chattr -i /usr/local/cwpsrv/htdocs/admin/admin
chattr -i /usr/local/cwpsrv/htdocs/admin

Then create the robots.txt files:
Code: [Select]
nano /usr/local/cwpsrv/htdocs/admin/admin/robots.txt
nano /usr/local/cwpsrv/htdocs/admin/robots.txt

Set the immutable bit on the robots.txt files:
Code: [Select]
chattr +i /usr/local/cwpsrv/htdocs/admin/admin/robots.txt
chattr +i  /usr/local/cwpsrv/htdocs/admin/robots.txt

Finally, reset the immutable bit on the CWP directories:
Code: [Select]
chattr +i /usr/local/cwpsrv/htdocs/admin/admin
chattr +i /usr/local/cwpsrv/htdocs/admin

274
CentOS 7 Problems / Re: Google indexing link to CWP
« on: September 15, 2023, 10:20:46 PM »
You may have to create the files on the server via a root shell using the nano text editor. Then you would also want to make them immutable, otherwise the next CWP update would likely delete them.

Code: [Select]
chattr +i /usr/local/cwpsrv/htdocs/admin/robots.txt
chattr +i /usr/local/cwpsrv/htdocs/admin/admin/robots.txt

275
DNS / Re: domain1 to domain2
« on: September 15, 2023, 05:48:46 PM »
You want domain1 and domain2 to have the same content? If so, you don't need separate user accounts, you just make domain2 and Add-on domain to user A's account, so it contains both domain1 and domain2.

276
MySQL / Re: FTP stopped after the MariaDB upgrade
« on: September 15, 2023, 02:05:15 PM »
Duplicate thread?

277
FTP / Re: FTP stopped after the MariaDB upgrade
« on: September 15, 2023, 02:02:56 PM »
What version of pure-ftpd are you running? Did you originally configure it with the recommended changes in the wiki?
https://wiki.centos-webpanel.com/category/ftp

Also, this is a good general working guide to configuring a CWP server from scratch:
https://www.awsmonster.com/cwp-installation-and-configuration_12

278
How to / Re: Direct domain name to proper directory
« on: September 15, 2023, 01:58:39 PM »
When you made the new user account, did it not create the public_html folder under the /home/userdir path, along with a www symlink?

To replicate your live server to a staging/backup server, are you using CWP Migration to clone your accounts?

279
Installation / Re: ubuntu with arm64
« on: September 14, 2023, 10:46:39 PM »
I would not recommend CentOS Stream 8, as it is EOL soon. Look toward AlmaLinux 8.8, as you can then ELevate to v9 when CWP fully support EL9 distributions (hopefully soon, per the devs).

280
Scan for large, ballooning log files, as Igor indicated. Truncate them to zero bytes:
Code: [Select]
truncate -s0 /usr/local/apache/logs/*
truncate -s0 /usr/local/apache/domlogs/*.log
Then implement logrotate to keep logs from growing exponentially in size.

281
PHP / Re: Fail PHP-FPM build
« on: September 14, 2023, 08:39:13 PM »
Opposite of TMI (too much information); too little information to help you properly! Are you trying to build php 7.0? If so, why? Why not 7.4, which granted is EOL, but at least more current and secure than 7.0.

282
Installation / Re: ubuntu with arm64
« on: September 14, 2023, 08:36:46 PM »
CWP still references CentOS, even though they are abstracting it to be Control Web Panel. It currently requires an EL7 or EL8 distribution.
https://control-webpanel.com/installation-instructions#step2
Quote
3. Software Requirements
You must have a clean/fresh installation of supported operating systems:
CentOS 7 MINIMAL is recommended version. (RECOMMENDED STABLE)
The best version to be used with CWP as it provides the most features and CWP Secure Kernel.
CWP-CentOS 8 MINIMAL or BOOT Stream-Delayed. (RECOMMENDED LATEST)
We have our custom repositories making CentOS 8 Stream a stable version. More Info
CentOS 8 Stream MINIMAL or BOOT
Direct installation or converted from CentOS 8 Linux. (Recommended)
Rocky Linux 8 MINIMAL or BOOT
Compatible but with possible issues, Recommended is to use CentOS 8 Stream or CentOS 7
Alma Linux 8 MINIMAL or BOOT
Compatible but with possible issues, Recommended is to use CentOS 8 Stream or CentOS 7
Oracle Linux 7 & 8 MINIMAL or BOOT
Compatible but with possible issues, Recommended is to use CentOS 8 Stream or CentOS 7

283
CentOS 7 Problems / Re: Google indexing link to CWP
« on: September 14, 2023, 08:33:29 PM »
Perhaps look at the site root for CWP:
Code: [Select]
/usr/local/cwpsrv/htdocs/admin
/usr/local/cwpsrv/htdocs/admin/admin
And I would think you would want to disallow ALL indexing of those locations:
Code: [Select]
User-agent: *
Disallow: /

284
MySQL / Re: Excessive resource usage: mysql
« on: September 14, 2023, 02:25:30 PM »
Love that changelog:
Quote
InnoDB
Crashing on I/O error is unhelpful (MDEV-27593)

285
CentOS 7 Problems / Re: Google indexing link to CWP
« on: September 14, 2023, 02:25:35 AM »
Sorry, but that's not correct syntax. You can't specify a domain in the robots.txt -- it just has to be at the site root for whatever domain you are wanting to control.
Code: [Select]
User-agent: Googlebot
Disallow: /

Pages: 1 ... 17 18 [19] 20 21 ... 60