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