]> git.decadent.org.uk Git - dak.git/blob - config/debian/apache.conf-ftp
add security apache.conf
[dak.git] / config / debian / apache.conf-ftp
1   # virtualhost is defined in the file including this file.
2
3   ServerName ftp-master.debian.org
4   DocumentRoot /srv/ftp.debian.org/web
5   Redirect permanent /proposed-updates.html http://release.debian.org/proposed-updates/stable.html
6   Redirect permanent /oldstable-proposed-updates.html http://release.debian.org/proposed-updates/oldstable.html
7   Redirect permanent /testing/hints/transitions.yaml http://ftp-master.debian.org/transitions.yaml
8
9   CustomLog               /var/log/apache2/ftp-master-access.log combined
10   ErrorLog                /var/log/apache2/ftp-master-error.log
11
12   Alias /users/ /srv/ftp.debian.org/web-users/
13
14   <Directory /srv/ftp.debian.org/web-users>
15     Order allow,deny
16     Allow from All
17     AllowOverride FileInfo AuthConfig Limit Indexes
18     Options MultiViews Indexes SymLinksIfOwnerMatch
19   </Directory>
20
21   RewriteEngine On
22   RewriteRule ^/~(.+) /users/$1 [R=permanent,L]