DocumentRoot /var/www/html
ServerName localhost
AllowOverride All
Require all granted
DirectoryIndex index.php index.html
# Enable rewrite module for .htaccess
RewriteEngine On
# Error and access logs
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined