404 not found after wizard runs

Your software
My Mautic version is: 3.1.2
My PHP version is: 7.2.34
My Database type and version is: 10.2.10-MariaDB MariaDB Server

Your problem
My problem is:
After wizard, I get a 404 ERROR
“The requested URL was not found on this server.”

These errors are showing in the log:

Steps I have tried to fix the problem:
It looks like my issue is is related to this one:

<VirtualHost *:80>
     DocumentRoot /var/www/html/mautic
     ServerName mautic.codetemporary.com
     ServerAlias mautic.codetemporary.com

     <Directory /var/www/html/mautic/>
        Options +FollowSymlinks
        AllowOverride All
        Require all granted


I’m running AWS Linux 2 AMI, which is basically a CentOS derivative. I’ve had to make a ton of tweaks to get this far. Once I have it all working, I’ll post a step-by-step guide. It seems all the other guides assume Debian or similar.

Webserver is apache.

Anyone have thoughts about the config I’m missing and/or need to change?

Many thanks!

I’m up and running (hopefully, still need to test).

<VirtualHost *:80>
    DocumentRoot /var/www/html

    <Directory /var/www/html/>
        Options FollowSymLinks
        Order allow,deny
        allow from all
        DirectoryIndex index.php
        AllowOverride all