1
How to / Re: Change Domain path to subfolder?
« Last post by overseer on Today at 01:58:18 AM »Set the desired DocumentRoot in the vhost conf file for your domain. I have to do this for a Drupal site that uses /home/username/public_html/web as the document root.
2
How to / Re: Change Domain path to subfolder?
« Last post by DragoCom on Today at 01:24:19 AM »Might seem like a dumb question can't you just update the path that the PHP script points to?
Would be an easy fix and you wouldn't have to mess around with 301 redirects or man handling Virtual Host files
It would most likely require re-writing php code in a lot of files of the script. It's not a selectable or changeable setting available.
3
How to / Re: Change Domain path to subfolder?
« Last post by 6Sense on Today at 01:10:13 AM »Might seem like a dumb question can't you just update the path that the PHP script points to?
Would be an easy fix and you wouldn't have to mess around with 301 redirects or man handling Virtual Host files
Would be an easy fix and you wouldn't have to mess around with 301 redirects or man handling Virtual Host files
4
How to / Change Domain path to subfolder?
« Last post by DragoCom on December 05, 2025, 09:17:48 PM »For some reason when you create an account in cwp it does NOT give you that accounts domain listed under, wait for it, "DOMAINS". I am clueless as to why it does not, cpanel and plesk do but anyway, I can NOT see domains under, wait for it, "DOMAINS" in the cwp user panel EITHER. Intentional or just clueless coder who did not include these features??? We will never know.
I need to change the path of the MAIN domain of an account from /home/username/public_html to /home/username/public_html/public for a php script I bought. You canly do this in the cwp user panel for "SUB DOMAINS"...DOH!!!
Anyway, does anyone have an idea on how you can do this? Thx in advance!!!
I need to change the path of the MAIN domain of an account from /home/username/public_html to /home/username/public_html/public for a php script I bought. You canly do this in the cwp user panel for "SUB DOMAINS"...DOH!!!
Anyway, does anyone have an idea on how you can do this? Thx in advance!!!
5
PHP / Re: any problems with PHP 8.3 and later?
« Last post by Starburst on December 05, 2025, 08:51:05 AM »Besides 0.9.8.1219 is now 3 versions behind the official again.
The current version of 8.3.28, and CWP is stuck at 8.3.25.
You could manually upgrade to the current 8.3, 8.4 and/or 8.5, there are guides on AlphaGNU.
The current version of 8.3.28, and CWP is stuck at 8.3.25.
You could manually upgrade to the current 8.3, 8.4 and/or 8.5, there are guides on AlphaGNU.
6
PHP / any problems with PHP 8.3 and later?
« Last post by venty on December 05, 2025, 07:30:41 AM »Hi,
with CWP, version 0.9.8.1219 and AlmaLinux release 9.7 (Moss Jungle Cat), what is the recommended version of PHP to use and are there any problems with PHP 8.3 and later?
Thanks in advance!
BR
Venty
with CWP, version 0.9.8.1219 and AlmaLinux release 9.7 (Moss Jungle Cat), what is the recommended version of PHP to use and are there any problems with PHP 8.3 and later?
Thanks in advance!
BR
Venty
7
Installation / Re: Fresh install mesxes up already
« Last post by overseer on December 04, 2025, 08:48:44 PM »But did you follow AlphaGNU's guide (and have a MariaDB.repo in place)?
8
Installation / Re: Fresh install mesxes up already
« Last post by DragoCom on December 04, 2025, 07:48:36 PM »You could follow Wonder as he was following the AlphaGNU MariaDB upgrade guide. The only difference is he was having to disable the CWP repo before continuing with the process:
cp /etc/my.cnf /etc/my.cnf.bak
systemctl stop mariadb mysql mysqld
systemctl disable mariadb
rpm -e --nodeps $(rpm -qa | grep -i mariadb)
rpm -e --nodeps mysql-common mysql-libs mysql-devel
rpm --nodeps -ev MariaDB-server
rpm -e --nodeps mariadb-server
dnf module disable mariadb -y
yum clean all
nano /etc/yum.repos.d/cwp.repo
Set enabled=0
Save changes, and then:
yum install MariaDB-server MariaDB-client MariaDB-devel MariaDB-shared net-snmp perl-DBD-MySQL -y
Then, very important:
nano /etc/yum.repos.d/cwp.repo
Set enabled=1
Save changes
dnf --refresh update
Didn't take long for that to go sideways:
[root@viking ~]# cp /etc/my.cnf /etc/my.cnf.bak
[root@viking ~]# systemctl stop mariadb mysql mysqld
[root@viking ~]# systemctl disable mariadb
Removed /etc/systemd/system/multi-user.target.wants/mariadb.service.
Removed /etc/systemd/system/mysql.service.
Removed /etc/systemd/system/mysqld.service.
[root@viking ~]# rpm -e --nodeps $(rpm -qa | grep -i mariadb)
[root@viking ~]# rpm -e --nodeps mysql-common mysql-libs mysql-devel
[root@viking ~]# rpm --nodeps -ev MariaDB-server
error: package MariaDB-server is not installed
[root@viking ~]# rpm -e --nodeps mariadb-server
error: package mariadb-server is not installed
[root@viking ~]# dnf module disable mariadb -y
Last metadata expiration check: 3:16:44 ago on Thu 04 Dec 2025 05:24:14 PM CET.
Dependencies resolved.
===========================================================================================================
Package Architecture Version Repository Size
===========================================================================================================
Disabling modules:
mariadb
Transaction Summary
===========================================================================================================
Complete!
[root@viking ~]# yum clean all
67 files removed
[root@viking ~]# nano /etc/yum.repos.d/cwp.repo
[root@viking ~]# yum install MariaDB-server MariaDB-client MariaDB-devel MariaDB-shared net-snmp perl-DBD-MySQL -y
AlmaLinux 8 - BaseOS 28 MB/s | 49 MB 00:01
AlmaLinux 8 - AppStream 16 MB/s | 22 MB 00:01
AlmaLinux 8 - Extras 36 kB/s | 14 kB 00:00
AlmaLinux 8 - PowerTools 10 MB/s | 5.1 MB 00:00
AlmaLinux 8 - PowerTools Source 335 kB/s | 144 kB 00:00
AlmaLinux 8 - PowerTools debuginfo 2.4 MB/s | 930 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 11 MB/s | 14 MB 00:01
nginx repo 1.3 MB/s | 89 kB 00:00
No match for argument: MariaDB-server
No match for argument: MariaDB-client
No match for argument: MariaDB-devel
No match for argument: MariaDB-shared
Package perl-DBD-MySQL-4.046-3.module_el8.6.0+2827+49d66dc3.x86_64 is already installed.
Error: Unable to find a match: MariaDB-server MariaDB-client MariaDB-devel MariaDB-shared
[root@viking ~]#
9
Updates / Re: Error during dnf -y update
« Last post by Starburst on December 04, 2025, 05:13:00 PM »MariaDB 10.5 is EOL. You need to upgrade MariaDB up to 10.6.x or 10.11.x.
Agreed, but according to CWP, those are not supported versions of MariaDB...
10
Updates / Re: Error during dnf -y update
« Last post by cyberspace on December 04, 2025, 04:17:23 PM »MariaDB 10.5 is EOL. You need to upgrade MariaDB up to 10.6.x or 10.11.x.
Recent Posts