Control Web Panel

WebPanel => Information => Topic started by: monkeyking on December 02, 2018, 06:45:06 PM

Title: CWPpro version: 0.9.8.742 vhost templates
Post by: monkeyking on December 02, 2018, 06:45:06 PM
I updated to CWPpro version: 0.9.8.742. I don't seem to see the vhost templates. Can someone please point to me to it?
Title: Re: CWPpro version: 0.9.8.742 vhost templates
Post by: studio4host on December 02, 2018, 08:15:09 PM
centos 741+
/usr/local/cwpsrv/htdocs/resources/conf/web_servers/

* don't edit existing, you should add new as existing will be overwritten on update.
Title: Re: CWPpro version: 0.9.8.742 vhost templates
Post by: pixelpadre on January 12, 2019, 12:52:57 PM
Templates need a https redirect.  Current conf file will not redirect http to https.  Why hasnt anyone else complained about this?  I have to use htaccess to accomplish redirect.
Title: Re: CWPpro version: 0.9.8.742 vhost templates
Post by: ginevra on February 10, 2019, 09:30:17 AM
UP! It's very important have redirect from panel from http and https and no www to www.
Title: Re: CWPpro version: 0.9.8.742 vhost templates
Post by: jeffshead on March 04, 2019, 02:07:24 PM
I updated to CWPpro version: 0.9.8.742. I don't seem to see the vhost templates. Can someone please point to me to it?
I posted about this earlier. This was a major change (I believe for the worse).

Now you have to edit each domain's vhost, manually.
Title: Re: CWPpro version: 0.9.8.742 vhost templates
Post by: studio4host on March 04, 2019, 02:27:10 PM
this can't be any easier and simpler, there are also several instructions on the forum and wiki
http://wiki.centos-webpanel.com/webservers-vhost-templates
Title: Re: CWPpro version: 0.9.8.742 vhost templates
Post by: jeffshead on March 04, 2019, 02:39:18 PM
this can't be any easier and simpler, there are also several instructions on the forum and wiki
http://wiki.centos-webpanel.com/webservers-vhost-templates
Thanks for the link :D When I first updated to v0.9.8.742, all I realized was that the template editing functionality was removed from the admin. That's when I started editing each individual vhost. Back then (http://forum.centos-webpanel.com/updates/every-menu-item-showing-high-performace-webservers-configuration/msg20157/#msg20157), I did not find any info on the new way of doing templates.

So it is normal behavior to manually assign a particular IP to an account but CWP does not automatically update the vhost files for the domains under that account?
Title: Re: CWPpro version: 0.9.8.742 vhost templates
Post by: studio4host on March 05, 2019, 06:33:14 AM
depends on how/where you manually change that ip address for the user, latest version if you use edit account from cwp will modify dns and webservers
Title: Re: CWPpro version: 0.9.8.742 vhost templates
Post by: jeffshead on April 07, 2019, 03:38:47 PM
depends on how/where you manually change that ip address for the user, latest version if you use edit account from cwp will modify dns and webservers
Not working for me.

I have tried that and I do make sure that the ‘Update WebServers’ checkbox is ticked before I save the account settings but the IP listed in all of the vhost files does NOT change even though the correct, alternate IP is listed in that account’s settings.

I have to go back and manually edit the Apache, NGINX and Varnish vhost files for that account every time I rebuild the servers because the CWP ‘Edit Account Settings’ does NOT update them .

It’s either a bug or something is keeping CWP from updating the vhost files. What should I check?
Title: Re: CWPpro version: 0.9.8.742 vhost templates
Post by: studio4host on April 07, 2019, 05:12:54 PM
I would suggest reporting that to cwp to check the exact issue so development can do detailed testing.
http://centos-webpanel.com/contact