]> git.decadent.org.uk Git - dak.git/blob - config/debian/apache.conf-ftp
Notify w-b earlier
[dak.git] / config / debian / apache.conf-ftp
1 Use common-debian-service-https-redirect * ftp-master.debian.org
2
3 <VirtualHost *:443>
4   ServerName ftp-master.debian.org
5   DocumentRoot /srv/ftp.debian.org/web
6
7   CustomLog               /var/log/apache2/ftp-master-access.log privacy
8   ErrorLog                /var/log/apache2/ftp-master-error.log
9
10   Use common-debian-service-ssl ftp-master.debian.org
11   Use common-ssl-HSTS
12
13   Redirect permanent /proposed-updates.html https://release.debian.org/proposed-updates/stable.html
14   Redirect permanent /oldstable-proposed-updates.html https://release.debian.org/proposed-updates/oldstable.html
15   Redirect permanent /testing/hints/transitions.yaml https://ftp-master.debian.org/transitions.yaml
16   Alias /users/ /srv/ftp.debian.org/web-users/
17   Alias /static/lintian.tags /srv/ftp-master.debian.org/dak/config/debian/lintian.tags
18
19   <Directory /srv/ftp.debian.org/web-users>
20     Require all granted
21     AllowOverride FileInfo AuthConfig Limit Indexes
22     Options MultiViews Indexes SymLinksIfOwnerMatch
23   </Directory>
24
25   <Directory /srv/ftp.debian.org/web>
26     Require all granted
27     AddCharset utf-8 .txt
28     Options MultiViews Indexes SymLinksIfOwnerMatch
29   </Directory>
30
31   <Directory /srv/ftp-master.debian.org/dak/config/debian>
32     <Files lintian.tags>
33       Require all granted
34     </Files>
35   </Directory>
36
37   RewriteEngine On
38   RewriteRule ^/~(.+) /users/$1 [R=permanent,L]
39   RewriteRule ^/testing/(.*) https://release.debian.org/britney/$1 [R=permanent,L]
40 </VirtualHost>