summaryrefslogtreecommitdiff
path: root/web-server/apache-conf/010-www.gnu.org
diff options
context:
space:
mode:
Diffstat (limited to 'web-server/apache-conf/010-www.gnu.org')
-rw-r--r--web-server/apache-conf/010-www.gnu.org39
1 files changed, 39 insertions, 0 deletions
diff --git a/web-server/apache-conf/010-www.gnu.org b/web-server/apache-conf/010-www.gnu.org
new file mode 100644
index 0000000..e6bd293
--- /dev/null
+++ b/web-server/apache-conf/010-www.gnu.org
@@ -0,0 +1,39 @@
+<VirtualHost *:80>
+# ServerName for the Mockup Server "www.gnu.org" server
+ ServerName gnu.housegordon.org
+ ServerAdmin agn@gnu.org
+
+# Real name of the server
+# ServerName www.gnu.org
+# ServerAdmin webmasters@gnu.org
+
+
+
+ # Temporary for IPv6: we'll assign the AAAA record directly to
+ # www.gnu.org when we're 100% confident about its reliability
+ ServerAlias www.ipv6.gnu.org
+ ServerAlias www6.gnu.org
+
+ DocumentRoot /var/www/
+
+ # The super secret RMS webxfer script that used to run on
+ # https://www.gnu.org/software/goodbye and got nadesico compromised now has its
+ # own private VM: goodbye.gnu.org.
+ # See also #658521
+ # Ward, 2011-02-02
+ RewriteEngine on
+ RewriteCond %{REQUEST_URI} ^/software/goodbye.*$
+ RewriteRule ^(.*)$ https://goodbye.gnu.org$1
+
+ ErrorLog /var/log/apache2/gnu.org-error.log
+ CustomLog /var/log/apache2/gnu.org-access.log combined
+
+ # Enable this to get compression ratio and other interesting details
+ #LogLevel debug
+
+ Include /etc/apache2/sites-available/www.gnu.org-common
+
+# LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate
+# CustomLog /var/log/apache2/deflate.log deflate
+
+</VirtualHost>