Use common-debian-service-https-redirect * ftp-master.debian.org ServerName ftp-master.debian.org DocumentRoot /srv/ftp.debian.org/web CustomLog /var/log/apache2/ftp-master-access.log privacy ErrorLog /var/log/apache2/ftp-master-error.log Use common-debian-service-ssl ftp-master.debian.org Use common-ssl-HSTS Redirect permanent /proposed-updates.html https://release.debian.org/proposed-updates/stable.html Redirect permanent /oldstable-proposed-updates.html https://release.debian.org/proposed-updates/oldstable.html Redirect permanent /testing/hints/transitions.yaml https://ftp-master.debian.org/transitions.yaml Alias /users/ /srv/ftp.debian.org/web-users/ Require all granted AllowOverride FileInfo AuthConfig Limit Indexes Options MultiViews Indexes SymLinksIfOwnerMatch Require all granted AddCharset utf-8 .txt Options MultiViews Indexes SymLinksIfOwnerMatch RewriteEngine On RewriteRule ^/~(.+) /users/$1 [R=permanent,L]