[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] 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 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/config/debian/apache.conf-ftp b/config/debian/apache.conf-ftp
index fa01961..52a8552 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]
-- 
1.5.6.5



Reply to: