Control Web Panel

WebPanel => Updates => Topic started by: coastbusiness on December 11, 2018, 10:58:25 AM

Title: After upgrade Nginx + Varnish + Apache PHP-FPM Performances .htaccess not workin
Post by: coastbusiness on December 11, 2018, 10:58:25 AM
Hi After upgrading to the new PHP-FPM system all my .htaccess files stopped working and i had to set to apache only for them to work, does anyone know how to make them work under the new system as it breaks all wordpress/CRM sites.
Title: Re: After upgrade Nginx + Varnish + Apache PHP-FPM Performances .htaccess not workin
Post by: monkeyking on December 11, 2018, 12:43:15 PM
Did you rebuild your vhost?
Title: Re: After upgrade Nginx + Varnish + Apache PHP-FPM Performances .htaccess not workin
Post by: coastbusiness on December 11, 2018, 01:07:49 PM
Yes all vhosts were rebuilt
Title: Re: After upgrade Nginx + Varnish + Apache PHP-FPM Performances .htaccess not workin
Post by: Netino on December 12, 2018, 02:17:17 AM
Try to return you sites to php-CGI mode. Now this just can be made one by one.
Check one by one it is working.
Once you've made your sites work again, you can to convert again to PHP-FPM one by one, after you check they are working.
At least this is what I would do.

Regards,
Netino
Title: Re: After upgrade Nginx + Varnish + Apache PHP-FPM Performances .htaccess not workin
Post by: coastbusiness on December 12, 2018, 10:46:14 AM
Thanks will give this a try and let you know
Title: Re: After upgrade Nginx + Varnish + Apache PHP-FPM Performances .htaccess not workin
Post by: coastbusiness on December 14, 2018, 10:33:02 AM
--- SOLVED ---

I have found that the issue was using the php-fpm template in nginx, after setting this to default everything is working.
Title: Re: After upgrade Nginx + Varnish + Apache PHP-FPM Performances .htaccess not workin
Post by: GTMAN on December 14, 2018, 04:22:36 PM
Did you change the Varnish template to "WordPress"?