DocumentRoot /var/www/html/public PassEnv DB_HOST DB_NAME DB_USER DB_PASSWORD AllowOverride All Require all granted Options -Indexes ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined