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

Pages: 1 ... 51 52 [53] 54 55
781
CentOS 7 Problems / Re: How to add Cors for apache & nginx without error?
« on: February 06, 2020, 02:26:45 AM »
Apache is easy: https://enable-cors.org/server_apache.html

Nginx is a bit more painful.  You have to set it in all locations as I am aware.
Check out this article.    They recommend creating a file with the parameters, and including it in the top of each server block.  On CWP, DO NOT name it .conf, or it will crash the server. 

try cors.include or something like that.

782
Run the following commands as root

yum install epel-release


then check:

yum repolist

then update;
yum -y update

reboot the server and you should be able to proceed

783
Turn off ClamAV and any spam filters you have running.  2GB of ram isn't really enough to run "everything"

784
Are you using the CENTOS-minimal installer.  because the normal installer comes pre-loaded with lamp, and breaks a lot of things.

785
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

786
DNS Manager / Re: HTTP Test Page on the homepage and 404 Not Found
« on: February 05, 2020, 11:49:49 PM »
CWP is more for a hosting platform.  If your looking for a simple LAMP Stack, it's not really required.  Though it does make it easier to configure mail and such.

787
SSL / Re: Only authorised on 8443
« on: February 05, 2020, 03:37:40 PM »
Try rebuilding the vhosts in cwp

788
DNS Manager / Re: HTTP Test Page on the homepage and 404 Not Found
« on: February 05, 2020, 03:31:36 PM »
You can try yum removing the lamp stack you installed, then rerun /use/local/src/
sh (installscript)

789
Not sure then. Just installed 3 VM's with it flawlessly.  So something fubared on your machine.  Just try the reinstall and hopefully everything works out.

790
By Chance did you terminate the install script?

cd /usr/local/src

sh cwp-el7-latest

something went very wrong with your install

If that's no the script you have, you installed the os6 version

791
Run the following Commands in order

cd /usr/local/cwpsrv/htdocs

wget static.cdn-cwp.com/files/cwp/el7/cwp-el7-0.9.8.928.zip
unzip -o -q cwp-el7-0.9.8.928.zip
rm -f cwp-el7-0.9.8.928.zip


792
cat /usr/local/cwpsrv/conf/cwpsrv.conf 

ls /usr/local/cwpsrv/htdocs/admin/login/

793
Run the following:

systemctl status cwp-phpfpm
systemctl status cwpsrv

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

795
DNS Manager / Re: Sub Domain Registration with free DNS
« on: February 05, 2020, 02:58:42 AM »
first off, is your domain setup to the proper nameservers at your registar.

ns1.centos-webpanel.com
ns2.centos-webpanel.com
ns3.centos-webpanel.com
ns4.centos-webpanel.com
ns5.centos-webpanel.com

Second, if they indeed are, it may take 24 hours after setting them at the registar to propogate, until that point, the old NS are still considered Authorative

Use this tool, and select NS for what to look for:  https://www.digwebinterface.com/


Proper formats are as follows:
my in A (IP)
my in CNAME @  // make sure you have an @ in A (IP)
my in CNAME mydomain.com

NOTE YOU tried my.domain.com in CNAME my.domain.com.  This could crash a named server. Don't ever do a looped lookup

Pages: 1 ... 51 52 [53] 54 55