Mautic 3 on Centos 7 404 after installer completes

I just set up a clean CentOS 7 VM with Apache 2.4.6 and PHP 7.3, and can indeed reproduce the issue after the installer completes:

I checked the Apache configuration and by default, AllowOverride is set to None in httpd.conf, which is causing the 404s. This setting was set to None by default starting with Apache 2.3.9.

Setting the AllowOverride setting to All fixed the issue for me :rocket:
Don’t forget to run sudo systemctl restart httpd after changing the config file!

<Directory "/var/www/html">
    # ... Other config here ...

    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride All

    # ... Other config here ...
</Directory>

Please let us know if this helps!

4 Likes