19 lines
467 B
Plaintext
19 lines
467 B
Plaintext
<VirtualHost *:80>
|
|
ServerAdmin admin@example.com
|
|
DocumentRoot /var/www/html
|
|
ServerName localhost
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
|
|
|
# Enable directory indexing
|
|
<Directory /var/www/html>
|
|
Options Indexes FollowSymLinks
|
|
AllowOverride All
|
|
Require all granted
|
|
</Directory>
|
|
|
|
# Enable rewrite engine
|
|
RewriteEngine On
|
|
RewriteOptions Inherit
|
|
</VirtualHost>
|