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.
721
PHP / Re: Where is Zend Guard been installed
« on: February 15, 2020, 02:11:38 PM »
Devs need to add a note for that module, or disable the checkbox for 7+
722
Installation / Re: The big Question
« on: February 15, 2020, 01:40:55 PM »
Cause I've got mad skills
![Wink ;)](https://forum.centos-webpanel.com/Smileys/default/wink.gif)
723
Installation / Re: The big Question
« on: February 15, 2020, 01:14:07 AM »
Just out of curiosity, did you try creating add-on domains ../addondomain . I don't use add-ons, so don't test it.
726
CWP API / Re: API endpoints Manual
« on: February 14, 2020, 02:40:21 PM »
CWP Settings -> API Manager
Remote API via token
There is a user endpoint running on localhost:2302, but no documentation for it
Remote API via token
There is a user endpoint running on localhost:2302, but no documentation for it
727
E-Mail / Re: emails, Error 550 5.1.1.
« on: February 14, 2020, 02:35:20 PM »
My guess:
/etc/postfix/main.cf
myhostname = (Your old hostname)
BUt just a guess.
If it's true, run the command
grep oldhostname *
to find all of the instances you need to change.
alternatively
sed -i "s@oldhostname@newhostname@g" /etc/postfix/*
/etc/postfix/main.cf
myhostname = (Your old hostname)
BUt just a guess.
If it's true, run the command
grep oldhostname *
to find all of the instances you need to change.
alternatively
sed -i "s@oldhostname@newhostname@g" /etc/postfix/*
728
Installation / Re: The big Question
« on: February 14, 2020, 02:09:18 PM »
I have told you. Configure your server the way you want to then. Your not stating that you want help, you're stating that you want CWP to change the software to suite your needs.
So here, I'm going to help you out:
The Template files cwp uses to build the configs are stored in:
/usr/local/cwpsrv/htdocs/resources/conf/web_servers/vhosts
httpd = apache w/o php-fpm
httpd/php-fpm = apache w/ php-fpm
httpd/proxy = apache acts as a proxy
nginx = proxy
nginx/php-fpm = nginx standalone
I should note. If you set it as the standard config, path for subdomains/addon domains will be ignored.
Catching a theme here yet? NOW. .tpl files are for port 80. .stpl files are for 443 ssl.
Now let's put it all together. let's say we are working with nginx standalone.
We copy nginx/php-fpm/default.stpl to nginx/php-fpm/mydomain.stpl
now we edit the line: root %docroot%; and change it to root /home/%user%/public_html/%domain%;
save the template.
Now log into CWP. Goto Webserver Settings -> WebServers Main Config
Change the default to your new config you created.
Alternatively, you can use your template on a specific domain only by WebServerDomainConf
I should note. Setting as the Main Config will ignore the path settings for addon/subdomains. So when setting path for subdomains, make sure you set them public_html/sub.domain.com
So here, I'm going to help you out:
The Template files cwp uses to build the configs are stored in:
/usr/local/cwpsrv/htdocs/resources/conf/web_servers/vhosts
httpd = apache w/o php-fpm
httpd/php-fpm = apache w/ php-fpm
httpd/proxy = apache acts as a proxy
nginx = proxy
nginx/php-fpm = nginx standalone
I should note. If you set it as the standard config, path for subdomains/addon domains will be ignored.
Catching a theme here yet? NOW. .tpl files are for port 80. .stpl files are for 443 ssl.
Now let's put it all together. let's say we are working with nginx standalone.
We copy nginx/php-fpm/default.stpl to nginx/php-fpm/mydomain.stpl
now we edit the line: root %docroot%; and change it to root /home/%user%/public_html/%domain%;
save the template.
Now log into CWP. Goto Webserver Settings -> WebServers Main Config
Change the default to your new config you created.
Alternatively, you can use your template on a specific domain only by WebServerDomainConf
I should note. Setting as the Main Config will ignore the path settings for addon/subdomains. So when setting path for subdomains, make sure you set them public_html/sub.domain.com
729
CentOS 7 Problems / Re: Pure-FTP Failure
« on: February 14, 2020, 09:49:11 AM »
systemctl enable pure-ftp
systemctl start pure-ftp
As for the spinning wheel
Edit packages, make sure all values are set. Cgroup can be like 1000. If that doesn't work, I posted a workaround recently.
systemctl start pure-ftp
As for the spinning wheel
Edit packages, make sure all values are set. Cgroup can be like 1000. If that doesn't work, I posted a workaround recently.
730
Installation / Re: The big Question
« on: February 14, 2020, 12:59:13 AM »
I don't know what to tell you. public_html has been around for decades. If you don't like it, your more than welcome to amend apache/nginx to meet your needs. Nobody's twisting your arm to use this software. You could install a simple lamp stack and manage it yourself. Your using a package software for the ease of configuring your server. Deal with it, stop complaining, or change to a software that suits what you want to happen.
731
CentOS 7 Problems / Re: hello some problems with nginx , can help me please to fix it!
« on: February 13, 2020, 03:22:20 PM »
phpfpm is not running.
732
Suggestions / Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
« on: February 13, 2020, 03:20:08 PM »
Seen that for almost 2 years. No offense.
733
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.
734
Suggestions / Re: Two-Factor Authentication (2FA) - Google Authenticator for CWP and CWP PRO !
« on: February 13, 2020, 07:49:16 AM »
I released a module of you all would like to try it out. Check the modules board.
735
Installation / Re: How to install CentOS Web Panel?
« on: February 13, 2020, 07:45:48 AM »
See other post. And please try not to double post.