<VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot "/var/www/html/public" DirectoryIndex index.php index.html <Directory "/var/www/html/public"> Options All +MultiViews -ExecCGI -Indexes <IfModule mod_dav.c> DAV Off </IfModule> AllowOverride All Require all granted </Directory> LogLevel warn ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> # vim: syntax=apache ts=4 sw=4 sts=4 sr noet