| Current Path : /etc/apache2/sites-enabled/ |
| Current File : //etc/apache2/sites-enabled/inatote.com.conf |
<VirtualHost *:80>
ServerAdmin webmaster@inatote.com
DocumentRoot /var/www/html/inatote.com
ServerName inatote.com
ServerAlias www.inatote.com
ErrorLog logs/inatote-error_log
CustomLog logs/inatote-access_log common
<Directory "/var/www/html/inatote.com">
AllowOverride all
Require all granted
</Directory>
RewriteEngine on
RewriteCond %{SERVER_NAME} =inatote.com [OR]
RewriteCond %{SERVER_NAME} =www.inatote.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>