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 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
119 RewriteCond %{DOCUMENT_ROOT}/devel/website/errors/404.$2.html -f
120 RewriteRule ^/(?!devel/website/errors/)(.*/)?404\.(.+)\.html$ /devel/website/errors/404.$2.html [L]
122 # the joys of backwards compatibility
123 RedirectPermanent /cgi-bin/cvsweb http://cvs.debian.org
124 RedirectPermanent /Lists-Archives http://lists.debian.org
125 RedirectPermanent /search http://search.debian.org
126 RedirectPermanent /Packages http://packages.debian.org
127 RedirectPermanent /lintian http://lintian.debian.org
129 RedirectPermanent /SPI http://www.spi-inc.org
130 # RedirectPermanent /OpenHardware http://www.openhardware.org
131 RedirectPermanent /OpenSource http://www.opensource.org
133 RedirectPermanent /Bugs/db/ix/pseudopackages.html /Bugs/pseudo-packages
135 RewriteRule ^/Bugs/db/pa/l([^/]+).html$ http://bugs.debian.org/$1
136 RewriteRule ^/Bugs/db/[[:digit:]][[:digit:]]/([[:digit:]][[:digit:]][[:digit:]]+).html$ http://bugs.debian.org/$1
137 RewriteRule ^/Bugs/db/ma/l([^/]+).html$ http://bugs.debian.org/cgi-bin/pkgreport.cgi?maintenc=$1
139 Userdir http://people.debian.org/~*/
141 RedirectPermanent /doc/prospective-packages /devel/wnpp/
142 RedirectPermanent /devel/maintainer_contacts /intro/organization
143 RedirectPermanent /zh/ /international/Chinese/
144 RedirectPermanent /chinese/ /international/Chinese/
145 RedirectPermanent /devel/help /devel/join/
146 RedirectPermanent /distrib/books /doc/books
147 RedirectPermanent /distrib/vendors /CD/vendors/
148 RedirectPermanent /distrib/cdinfo /CD/vendors/info
149 RedirectPermanent /related_links /misc/related_links
150 RedirectPermanent /ports/laptops /misc/laptops/
151 RedirectPermanent /misc/README.mirrors /mirror/list
152 RedirectPermanent /misc/README.non-US /mirror/list.non-US
153 RedirectPermanent /intl /international
154 RedirectPermanent /ports/armel /ports/arm
155 RedirectPermanent /ports/mipsel /ports/mips
156 RedirectPermanent /ports/kfreebsd-amd64 /ports/kfreebsd-gnu
157 RedirectPermanent /ports/kfreebsd-i386 /ports/kfreebsd-gnu
158 RedirectPermanent /mirror/mirrors_full.html /mirror/list-full.html
159 RedirectPermanent /mirrors /mirror
160 RedirectPermanent /News/project /News/weekly
161 RedirectPermanent /releases/2.0 /releases/hamm
162 RedirectPermanent /releases/2.1 /releases/slink
163 RedirectPermanent /releases/2.2 /releases/potato
164 RedirectPermanent /releases/3.0 /releases/woody
165 RedirectPermanent /releases/3.1 /releases/sarge
166 RedirectPermanent /releases/4.0 /releases/etch
167 RedirectPermanent /releases/5.0 /releases/lenny
168 RedirectPermanent /releases/6.0 /releases/squeeze
169 RedirectPermanent /releases/unstable /releases/sid