<VirtualHost *:80>

    ServerName adsuite.adsparc.net

    RewriteEngine on

  <Directory /var/www/adsuite.adsparc.net/>
      #Options +Indexes +FollowSymLinks +ExecCGI
      Options -Indexes 
      AllowOverride All
      #Order deny,allow
      #Allow from all
    </Directory>

    DocumentRoot /var/www/adsuite.adsparc.net
    ErrorLog ${APACHE_LOG_DIR}/adsuite.adsparc.net.error.log
    CustomLog ${APACHE_LOG_DIR}/adsuite.adsparc.net.access.log combined

RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} =http
RewriteRule ^index\.php$ login.php [NC,R]
#RewriteRule .* https://%{HTTP:Host}%{REQUEST_URI} [L,R=permanent]

</VirtualHost>




