File: //etc/apache2/sites-available/fxhealth.co.za.conf
<VirtualHost *:80>
ServerName fxhealth.co.za
ServerAlias www.fxhealth.co.za fxhealth.com www.fxhealth.com drlbp.co.za www.drlbp.co.za
ServerAdmin webmaster@fxhealth.co.za
DocumentRoot /home/fxhealth/public_html
AssignUserID fxhealth fxhealth
# AssignUserID fxhealthq fxhealth
Include zsdvirtualhostgeneric.conf
ErrorLog /home/fxhealth/log/error.log
LogLevel warn
CustomLog /home/fxhealth/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} =fxhealth.co.za [OR]
RewriteCond %{SERVER_NAME} =www.fxhealth.com [OR]
RewriteCond %{SERVER_NAME} =www.drlbp.co.za [OR]
RewriteCond %{SERVER_NAME} =drlbp.co.za [OR]
RewriteCond %{SERVER_NAME} =fxhealth.com [OR]
RewriteCond %{SERVER_NAME} =www.fxhealth.co.za
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>