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?
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.
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.
UP! It's very important have redirect from panel from http and https and no www to www.
Quote from: 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?
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.
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
Quote from: 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
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?
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
Quote from: 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
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?
I would suggest reporting that to cwp to check the exact issue so development can do detailed testing.
http://centos-webpanel.com/contact