I have installed Hestia and have it all setup and then installed CakePHP but I keep getting error 500 for the cakephp site. I think its todo with how nginx handles the request. Can someone on here point me in the right direction so that I can get this working?
CakePHP is installed in /home/{{user}}/web/{{domain}}/public_html/app
And the document root for the site is set to app/webroot via Hestia Control Panel.
I have noticed that there are a number of configuration files in, /usr/local/hestia/data/templates/web/nginx/php-fpm, including for Drupal WordPress and others etc, and am wondering whether I would need to create a file there for cakephp (cakephp.tpl/stpl)
I have looked at the logs and found this: /home/{{user-replaced}}/web/{{domain-replaced}}/public_html/app/.htaccess: <IfModule not allowed here
Its enabled already. I have removed the .htaccess (/app/.htaccess) file and it works but that is not the way it is meant to work so am trying to figure out what is wrong. I also changed home/{{user}}/conf/web/{{domain}}/apache2.conf so that the webroot directory is as follows: