Current File : //etc/apache2/sites-available/vertex_power.conf |
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName 13.200.72.161
ServerAlias www.vertexpower.co.in
DocumentRoot /var/www/html
<Directory /var/www/html>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
DirectoryIndex index.shtml index.html index.php
</Directory>
ErrorLog ${APACHE_LOG_DIR}/vertexpower.com_error.log
CustomLog ${APACHE_LOG_DIR}/vertexpower.com_access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =vertexpower.co.in [OR]
RewriteCond %{SERVER_NAME} =13.200.72.161
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>