23 lines
515 B
Plaintext
23 lines
515 B
Plaintext
<VirtualHost *:80>
|
|
ServerAdmin webmaster@localhost
|
|
DocumentRoot /var/www/html
|
|
|
|
<Directory /var/www/html>
|
|
Options Indexes FollowSymLinks
|
|
AllowOverride All
|
|
Require all granted
|
|
</Directory>
|
|
|
|
# Enable mod_rewrite
|
|
RewriteEngine On
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
|
|
# Optional: Disable directory listing
|
|
<Directory /var/www/html>
|
|
Options -Indexes +FollowSymLinks
|
|
</Directory>
|
|
|
|
</VirtualHost>
|