]> git.decadent.org.uk Git - dak.git/commitdiff
Add the web-users dir and a rewriterule for it
authorJoerg Jaspert <joerg@debian.org>
Fri, 30 Jul 2010 02:10:43 +0000 (04:10 +0200)
committerJoerg Jaspert <joerg@debian.org>
Fri, 30 Jul 2010 02:10:43 +0000 (04:10 +0200)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/debian/apache.conf-ftp

index fa0196155b6df1a9357a5cbf54f1056b80bddde2..52a85528a8d67d84130973a6623e709e75ccdf47 100644 (file)
@@ -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]