summaryrefslogtreecommitdiff
path: root/web-server/apache-conf/010-www.gnu.org
blob: e6bd293ccd4df43971c26a0921f4a3e4f2d6e99c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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>