From a1864207ea98b1a71016e3b66ef5243092c13025 Mon Sep 17 00:00:00 2001
From: Joerg Jaspert <joerg@debian.org>
Date: Fri, 30 Jul 2010 04:10:43 +0200
Subject: [PATCH] Add the web-users dir and a rewriterule for it

Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
 config/debian/apache.conf-ftp | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/config/debian/apache.conf-ftp b/config/debian/apache.conf-ftp
index fa019615..52a85528 100644
--- a/config/debian/apache.conf-ftp
+++ b/config/debian/apache.conf-ftp
@@ -5,3 +5,18 @@
   Redirect permanent /proposed-updates.html http://release.debian.org/proposed-updates/stable.html
   Redirect permanent /oldstable-proposed-updates.html http://release.debian.org/proposed-updates/oldstable.html
   Redirect permanent /testing/hints/transitions.yaml http://ftp-master.debian.org/transitions.yaml
+
+  CustomLog               /var/log/apache2/ftp-master-access.log combined
+  ErrorLog                /var/log/apache2/ftp-master-error.log
+
+  Alias /users/ /srv/ftp.debian.org/web-users/
+
+  <Directory /srv/ftp.debian.org/web-users>
+    Order allow,deny
+    Allow from All
+    AllowOverride FileInfo AuthConfig Limit Indexes
+    Options MultiViews Indexes SymLinksIfOwnerMatch
+  </Directory>
+
+  RewriteEngine On
+  RewriteRule ^/~(.+) /users/$1 [R=permanent,L]
-- 
2.39.5