ServerAdmin webmaster@localhost DocumentRoot /var/www/html/public Options -Indexes +FollowSymLinks AllowOverride All Require all granted FallbackResource /index.php # Symfony recommended: disable .htaccess if using FallbackResource FallbackResource disabled ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined