ServerAdmin webmaster@example.com ServerName default.example.com DocumentRoot /var/www/html Options None AllowOverride None # Redirect 301 to HTTPS # RedirectMatch permanent ^/(.*)$ https://${HTTP_HOST}/$1 # Access control by IP or IP range # Order deny,allow # Deny from all # Allow from 10.xx.0.0/16 127.0.0.0/255.0.0.0 ::1/128 # Allow all Order allow,deny Allow from all ErrorLog /var/log/apache2/default.error.log LogLevel warn CustomLog /var/log/apache2/default.access.log combined