﻿           <VirtualHost *:80>
          ServerAdmin antonyodu@gmail.com
          ServerName hr.payraty.com
          DocumentRoot /var/www/payraty/hris/public

       ErrorLog ${APACHE_LOG_DIR}/error.log
          CustomLog ${APACHE_LOG_DIR}/access.log combined

          <Directory /var/www/payraty/hris>
              Require all granted
              AllowOverride All
              Options Indexes Multiviews FollowSymLinks
              </Directory>
         
RewriteEngine on
RewriteCond %{SERVER_NAME} =hr.payraty.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHos