17 lines
433 B
Plaintext
17 lines
433 B
Plaintext
|
|
<VirtualHost *:80>
|
||
|
|
DocumentRoot /var/www/html
|
||
|
|
ServerName localhost
|
||
|
|
|
||
|
|
<Directory /var/www/html>
|
||
|
|
AllowOverride All
|
||
|
|
Require all granted
|
||
|
|
DirectoryIndex index.php index.html
|
||
|
|
</Directory>
|
||
|
|
|
||
|
|
# Enable rewrite module for .htaccess
|
||
|
|
RewriteEngine On
|
||
|
|
|
||
|
|
# Error and access logs
|
||
|
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||
|
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||
|
|
</VirtualHost>
|