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.
Pages: [1]
1
DNS Manager / DNS manager is broken
« on: May 03, 2022, 04:17:59 AM »
/admin/loader_ajax.php?ajax=slave_dns_admin gives a 404 error on trying to push domains
2
DNS / Slave Manager License Expired
« on: March 03, 2021, 02:45:32 PM »
You need to recompile the slave manager, as it's license has expired for php encoder. Just tried to update from the FAQ's, and the zip file still contains the expired files.
Please correct this.
Please correct this.
3
CentOS-WebPanel Bugs / [Bug] in SNI
« on: May 22, 2020, 08:30:43 AM »
When a domain/account is deleted from the server, CWP failed to remove the sni listing from dovecot, causing dovecot service to fail.
4
New Modules / [SCRIPT] fix_500
« on: May 15, 2020, 02:11:14 AM »
The following script should work to fix the dreaded error 500 CWP issue on both CentOS 6 and 7 automatically
1) login as root
2) nano /scripts/fix_500
3) paste contents below
4) chmod 700 /scripts/fix_500
5) run /scripts/fix_500
1) login as root
2) nano /scripts/fix_500
3) paste contents below
4) chmod 700 /scripts/fix_500
5) run /scripts/fix_500
Code: [Select]
#!/bin/bash
yum -y update cwpphp --enablerepo=cwp
cos=`uname -r | grep -oP "el\K(.)"`
ver=`grep "version" /usr/local/cwpsrv/htdocs/resources/admin/include/version.php | cut -d "\"" -f 2`
case $cos in
[6]*)
echo "CentOs $cos running CWP $ver"
chattr -i -R /usr/local/cwpsrv/htdocs
cd /usr/local/cwpsrv/htdocs
wget dl1.centos-webpanel.com/files/cwp/cwp2-$ver.zip
unzip -o cwp2-$ver.zip
rm -f cwp2-$ver.zip
;;
[7]*)
echo "CentOs $cos running CWP $ver"
chattr -i -R /usr/local/cwpsrv/htdocs
cd /usr/local/cwpsrv/htdocs
wget static.cdn-cwp.com/files/cwp/el7/cwp-el7-$ver.zip
unzip -o -q cwp-el7-$ver.zip
rm -f cwp-el7-$ver.zip
;;
*)
echo "Not CentOs"
;;
esac
chattr -R -i /usr/local/cwpsrv/var/services/
cd /usr/local/cwpsrv/var/services/
wget static.cdn-cwp.com/files/cwp/el7/cwp-services.zip
unzip -o -q cwp-services.zip
rm -f cwp-services.zip
sed -i "s/ioncube_loader_lin_7.0/ioncube_loader_lin_7.2/g" /usr/local/cwp/php71/php.ini
sh /scripts/restart_cwpsrv
sh /scripts/update_cwp
5
New Modules / [Module] CWP_DNSREPORT
« on: May 10, 2020, 08:52:22 AM »
A Module that produces a Report on all Domains/Subdomains on the server in both HTML and CSV Format
Video: https://www.youtube.com/watch?v=SpnxlDYgE-8&feature=youtu.be&hd=1
Install: https://github.com/rcschaff82/cwp_dnsreport
Video: https://www.youtube.com/watch?v=SpnxlDYgE-8&feature=youtu.be&hd=1
Install: https://github.com/rcschaff82/cwp_dnsreport
6
New Modules / [Module] CWP_IceCast
« on: April 27, 2020, 01:12:52 AM »
And IceCast Module for CWP. Much like Shoutcast. Please note this is in Alpha Stage.
https://github.com/rcschaff82/cwp_icecast
https://github.com/rcschaff82/cwp_icecast
7
New Modules / [Module] CWP_ShoutCast2
« on: April 24, 2020, 01:10:44 PM »
Here's a new module for the installation on configuration of ShoutCast 2 Servers.
https://github.com/rcschaff82/cwp_shoutcast2
https://github.com/rcschaff82/cwp_shoutcast2
9
CentOS 7 Problems / Update Bug
« on: February 17, 2020, 11:46:39 PM »
Yum.log
Better question is why are you removing and reinstalling software anyways? A simple yum -y update would suffice
Code: [Select]
Feb 17 04:13:23 Erased: cwp-httpd-2.4.39-3.x86_64 << Reinstalled
Feb 17 04:13:24 Erased: subversion-1.7.14-14.el7.x86_64 << Reinstalled
Feb 17 04:13:24 Erased: subversion-libs-1.7.14-14.el7.x86_64 << Reinstalled
Feb 17 04:13:24 Erased: cwpsrv-1.15.10-4.x86_64 << Reinstalled
Feb 17 04:13:24 Erased: apr-devel-1.6.2-1.x86_64 << Removed but not reinsalled
Feb 17 04:13:24 Erased: apr-util-1.6.0-1.x86_64 << Reinstalled
Feb 17 04:13:24 Erased: apr-1.6.2-1.x86_64 << Reinstalled
Feb 17 04:13:39 Installed: apr-1.6.2-1.x86_64
Feb 17 04:13:39 Installed: apr-util-1.6.0-1.x86_64
Feb 17 04:13:39 Installed: subversion-libs-1.7.14-14.el7.x86_64
Feb 17 04:13:40 Installed: subversion-1.7.14-14.el7.x86_64
Feb 17 04:15:28 Installed: cwp-httpd-2.4.39-3.x86_64
Feb 17 04:17:36 Installed: cwp-php-5.6.37-1.x86_64
Feb 17 04:17:54 Installed: cwpsrv-1.15.10-4.x86_64
Feb 17 04:25:26 Erased: MariaDB-server-10.1.44-1.el7.centos.x86_64 << Removed after... Why???
Better question is why are you removing and reinstalling software anyways? A simple yum -y update would suffice
10
Other / Forum Rules
« on: February 17, 2020, 03:38:56 PM »
It would be nice of you to post forum "rules", so that we know exactly what we can / cannot do on here. Otherwise it's just arbitrary subjectivity, and can be considered petty when posts are edited/removed. These rules also need to be at the top of the forum for all to read first. After all, it is a standard practice by anyone who runs a forum.
11
Suggestions / Please start locking topics.
« on: February 13, 2020, 07:50:32 AM »
Once a topic has a resolution, you really should lock it. People posting on 3 year old issues is ridiculous.
12
New Modules / Two Factor Authorization Mod
« on: February 06, 2020, 12:48:12 AM »
I have built a Two Factor Authorization Module for CWP. I have tested it, but please consider this is BETA. All Issues should be reported to me on this post.
Pre-Requisites.
You need an API key created with ACCOUNT-> list created
After installation, make sure you change User Account -> Themes to the modified theme, and don't allow them to change
Please not that this system works around the CWP login system, and therefore is not infallible, though I did my best to hide that it's there.
TO install:
From root user via ssh:
wget https://schaffner.org/cwp2fa.tar.gz
tar -xzf cwp2fa.tar.gz
cd cwp_2fa/
./install.sh
When prompted, put in your API key
That's it.
Now log into CWP and you should see a new menu 2Factor Auth directly under Server Settings Menu
Users Menu Appears under CWP Settings
Pre-Requisites.
You need an API key created with ACCOUNT-> list created
After installation, make sure you change User Account -> Themes to the modified theme, and don't allow them to change
Please not that this system works around the CWP login system, and therefore is not infallible, though I did my best to hide that it's there.
TO install:
From root user via ssh:
wget https://schaffner.org/cwp2fa.tar.gz
tar -xzf cwp2fa.tar.gz
cd cwp_2fa/
./install.sh
When prompted, put in your API key
That's it.
Now log into CWP and you should see a new menu 2Factor Auth directly under Server Settings Menu
Users Menu Appears under CWP Settings
13
CentOS-WebPanel Bugs / freeDNS module bug
« on: February 05, 2020, 03:05:26 AM »
You can no longer include an insecure iframe on a secured connection. YOu need to get a signed cert for http://freedns.centos-webpanel.com/, and change the http to https
Just changing to https will fail with a self signed cert.
Just changing to https will fail with a self signed cert.
14
CentOS-WebPanel GUI / User Login Page
« on: February 02, 2020, 07:31:36 PM »
A couple of notes for the Developers.
1) If Javascript is disabled, users are unable to login. There needs to be a notice that JavaScript IS required to use the page.
2) I see the begining of integration of 2fa. However you should not use AJAX or any javascript whatsoever to perform this function. I simple tweak to the javascript, and they can bypass it.
3) I would recommend ditching the javascript/ajax calls, as you think it's making it streamlined, but it's actually going to cause more headaches.
1) If Javascript is disabled, users are unable to login. There needs to be a notice that JavaScript IS required to use the page.
2) I see the begining of integration of 2fa. However you should not use AJAX or any javascript whatsoever to perform this function. I simple tweak to the javascript, and they can bypass it.
3) I would recommend ditching the javascript/ajax calls, as you think it's making it streamlined, but it's actually going to cause more headaches.
Pages: [1]