18 lines
No EOL
446 B
Text
18 lines
No EOL
446 B
Text
## Default docroot
|
|
DocumentRoot "/var/www/html/"
|
|
|
|
## Directories, there should at least be a declaration for DocumentRoot
|
|
|
|
<Directory "/var/www/html/">
|
|
Options +FollowSymlinks -Indexes
|
|
AllowOverride All
|
|
</Directory>
|
|
|
|
## Logging
|
|
ErrorLog "/var/log/apache2/localhost_error.log"
|
|
ServerSignature Off
|
|
CustomLog "/var/log/apache2/localhost_access.log" combined
|
|
|
|
## Redirect rules
|
|
RewriteEngine On
|
|
RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L] |