Control Web Panel

WebPanel => Apache => Varnish => Topic started by: ecodinom on December 27, 2018, 06:21:10 PM

Title: select Wordpress template on WebServer Domain Conf
Post by: ecodinom on December 27, 2018, 06:21:10 PM
Hi,

if I try to set "Wordpress" for the "Varnish default vhost template" in the WebServer Domain Conf the setting is not saved: if I check the configuration it says "WebServer Domain Conf: default".

No error in shown when I try to select Wordpress and I can see the green success message.

Any idea what kind of problem could it be?
Title: Re: select Wordpress template on WebServer Domain Conf
Post by: ecodinom on January 06, 2019, 06:24:13 PM
Ping?
Title: Re: select Wordpress template on WebServer Domain Conf
Post by: ForYourIT on January 06, 2019, 09:46:36 PM
Maybe a bit more information? Like logs, maybe screenshots etc.
Title: Re: select Wordpress template on WebServer Domain Conf
Post by: GTMAN on January 07, 2019, 09:27:09 PM
I know what you mean. I just tested it ... it builds the VCL from the WP template but doesn't show it when returning to the page after leaving it and returning.

Check here for the file ..should be 3KB

/etc/varnish/conf.d/vhosts   
Title: Re: select Wordpress template on WebServer Domain Conf
Post by: ecodinom on January 19, 2019, 03:40:22 PM
So, does it mean that it actually works and it's just a problem with the GUI?
Title: Re: select Wordpress template on WebServer Domain Conf
Post by: GTMAN on January 19, 2019, 04:56:58 PM
Yes I believe so. The page would have to store a cookie or keep track of your choice in a database otherwise. It's just a utility to create the various conf files from the templates you choose.

You can check the conf file here:

Code: [Select]
/etc/varnish/conf.d/vhosts 
Title: Re: select Wordpress template on WebServer Domain Conf
Post by: tokar86a on February 02, 2019, 08:41:04 PM
Yes i have notes that thing to. have someone report this bug?