agave the dbd autobuild project its own directory
[eostre.git] / dbd-autobuild / files / boycottsony.org.conf
diff --git a/dbd-autobuild/files/boycottsony.org.conf b/dbd-autobuild/files/boycottsony.org.conf
new file mode 100644 (file)
index 0000000..6956ce4
--- /dev/null
@@ -0,0 +1,20 @@
+<VirtualHost *:80>
+       ServerName boycottsony.org
+       ServerAlias www.boycottsony.org
+
+  ### redirect to same domain name, but HTTPS. required for HSTS  
+  RewriteEngine On
+  RewriteCond %{HTTPS} !=on
+  RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
+
+</VirtualHost>
+
+<VirtualHost *:443>
+       ServerName boycottsony.org
+       ServerAlias www.boycottsony.org
+
+       Redirect / https://www.defectivebydesign.org/sony/
+
+  Include /etc/apache2/sites-available/www.defectivebydesign.org-ssl-common.conf
+
+</VirtualHost>