Mautic Community Forums

your script fails if nginx is installed using softaculous

i’ve tried on 4 different servers with webuzo, cpanel, and plesk. if installed with softaculous and nginx is on server your app breaks.



http://dateverify.me/mautic/s/login

i’ve tried on 4 different servers with webuzo, cpanel, and plesk. if installed with softaculous and nginx is on server your app breaks.

http://dateverify.me/mautic/s/login

So nginx takes a little extra work to setup since out of the box, Symfony is built for use on Apache and uses .htaccess files.

Here’s an example nginx config file that may help:

https://gist.github.com/drmmr763/747b9dc984faa58b6986

You may also refer to http://symfony.com/doc/current/cookbook/configuration/web_server_configuration.html#nginx for some guidance.

Thanks!
Alan

Hi Mobilechipmunk

Just to expand on what Alan said, the issue is that the .htaccess file doesn’t work on Nginx, so you have to create a config file which parses all content through the php index.php handler. This has to be done for any php application like Mautic (like wordpress or Joomla, etc…).

Chad