DocumentRoot /var/www/html/public
DirectoryIndex index.php
AllowOverride All
Order Allow,Deny
Allow from All
Require all granted
FallbackResource /index.php
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]