2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
6 # Need to turn on negotiation_module
7 <Directory /srv/www.debian.org/www/>
8 Options +MultiViews +FollowSymLinks +Indexes
9 AddHandler type-map var
10 # Make sure that the srm.conf directive is commented out.
12 AllowOverride AuthConfig FileInfo
14 # Serve icons as image/x-icon
15 AddType image/x-icon .ico
17 # Serve RSS feeds as application/rss+xml
18 AddType application/rss+xml .rdf
22 ExpiresDefault "access plus 1 day"
23 ExpiresByType image/gif "access plus 1 week"
24 ExpiresByType image/jpeg "access plus 1 week"
25 ExpiresByType image/png "access plus 1 week"
26 ExpiresByType image/x-icon "access plus 1 week"
28 # FileEtag needs to be the same across mirrors (used for caching, ignore inode)
31 # language stuff, for web site translations
32 # for boot-floppies docs only: sk
34 AddLanguage en-us .en-us
35 AddLanguage en-gb .en-gb
69 AddLanguage zh-CN .zh-cn
70 AddLanguage zh-HK .zh-hk
71 AddLanguage zh-TW .zh-tw
72 LanguagePriority en fr de it es ja pl hr da pt pt-br fi zh-cn zh-hk zh-tw cs sv ko no nb ru tr eo ar nl hu ro sk el ca en-us en-gb id lt sl bg uk hy vi
74 DirectoryIndex maintenance.html index index.html index.shtml index.htm
81 ForceType application/pdf
90 ServerName www.nl.debian.org
91 ServerAdmin webmaster@debian.org
92 ServerAlias www.debian.com www.debian.de www.*.debian.org newwww.deb.at www.debian.net debian.net debian.org www.debian.at
93 DocumentRoot /srv/www.debian.org/www/
94 ErrorLog /var/log/apache2/www-other.debian.org-error.log
95 CustomLog /var/log/apache2/www-other.debian.org-access.log combined
96 RewriteLog /var/log/apache2/www-other.debian.org-redirect.log
100 RewriteRule ^/(.*)$ http://www.debian.org/$1 [R=301,L]
104 ServerName www.debian.org
105 ServerAdmin webmaster@debian.org
106 ServerAlias www-*.debian.org
107 DocumentRoot /srv/www.debian.org/www/
108 ErrorLog /var/log/apache2/www.debian.org-error.log
109 CustomLog /var/log/apache2/www.debian.org-access.log combined
111 # CacheNegotiatedDocs: By default, Apache sends Pragma: no-cache with each
112 # document that was negotiated on the basis of content. This asks proxy
113 # servers not to cache the document. Uncommenting the following line disables
114 # this behavior, and proxies will be allowed to cache the documents.
115 CacheNegotiatedDocs On
118 ErrorDocument 404 /devel/website/errors/404
120 # the joys of backwards compatibility
121 Redirect /cgi-bin/cvsweb http://cvs.debian.org
122 Redirect /Lists-Archives http://lists.debian.org
123 Redirect /search http://search.debian.org
124 Redirect /Packages http://packages.debian.org
125 Redirect /lintian http://lintian.debian.org
127 Redirect /SPI http://www.spi-inc.org
128 # Redirect /OpenHardware http://www.openhardware.org
129 Redirect /OpenSource http://www.opensource.org
131 Redirect /Bugs/db/ix/pseudopackages.html http://www.debian.org/Bugs/pseudo-packages
133 RewriteRule ^/Bugs/db/pa/l([^/]+).html$ http://bugs.debian.org/$1
134 RewriteRule ^/Bugs/db/[[:digit:]][[:digit:]]/([[:digit:]][[:digit:]][[:digit:]]+).html$ http://bugs.debian.org/$1
135 RewriteRule ^/Bugs/db/ma/l([^/]+).html$ http://bugs.debian.org/cgi-bin/pkgreport.cgi?maintenc=$1
137 Userdir http://people.debian.org/~*/
139 Redirect /doc/prospective-packages http://www.debian.org/devel/wnpp/
140 Redirect /devel/maintainer_contacts http://www.debian.org/intro/organization
141 Redirect /zh/ http://www.debian.org/intl/Chinese/
142 Redirect /devel/help http://www.debian.org/devel/join/
143 Redirect /distrib/books http://www.debian.org/doc/books
144 Redirect /distrib/vendors http://www.debian.org/CD/vendors/
145 Redirect /distrib/cdinfo http://www.debian.org/CD/vendors/info
146 Redirect /related_links http://www.debian.org/misc/related_links
147 Redirect /ports/laptops http://www.debian.org/misc/laptops/
148 Redirect /misc/README.mirrors http://www.debian.org/mirror/list
149 Redirect /misc/README.non-US http://www.debian.org/mirror/list.non-US