From: Joerg Jaspert Date: Fri, 30 Jul 2010 02:10:43 +0000 (+0200) Subject: Add the web-users dir and a rewriterule for it X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=a1864207ea98b1a71016e3b66ef5243092c13025;p=dak.git Add the web-users dir and a rewriterule for it Signed-off-by: Joerg Jaspert --- 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/ + + + Order allow,deny + Allow from All + AllowOverride FileInfo AuthConfig Limit Indexes + Options MultiViews Indexes SymLinksIfOwnerMatch + + + RewriteEngine On + RewriteRule ^/~(.+) /users/$1 [R=permanent,L]