File: //etc/apache2/sites-obsolete/lms.sbidz.co.za.conf
<VirtualHost *:80>
ServerName lms.sbidz.co.za
ServerAlias www.lms.sbidz.co.za test.lms.sbidz.co.za
ServerAdmin webmaster@lms.sbidz.co.za
DocumentRoot /home/sbidzlms/public_html
AssignUserID sbidzlms sbidzlms
# AssignUserID sbidzlmsq sbidzlms
Include zsdvirtualhostgeneric.conf
ErrorLog /home/sbidzlms/log/error.log
LogLevel warn
CustomLog /home/sbidzlms/log/access.log combined
ServerSignature On
# PHP settings requested for drupal
php_value upload_max_filesize 20M
php_value post_max_size 20M
php_value max_execution_time 60
RewriteEngine on
RewriteCond %{SERVER_NAME} =test.lms.sbidz.co.za [OR]
RewriteCond %{SERVER_NAME} =www.lms.sbidz.co.za [OR]
RewriteCond %{SERVER_NAME} =lms.sbidz.co.za
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>