From e41171b83897d1fcc77dad15d18a5bea478b6047 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20Pr=C3=A9vot?= Date: Wed, 27 Apr 2011 17:07:21 -0400 Subject: [PATCH] More Redirect previously handled by symlinks Mainly directories. Thanks to Simon Paillard. Closes: #612120 Signed-off-by: Simon Paillard Remove http://www.debian.org/ from rewrite rules Add Chinese too --- .../apache2/sites-available/www.debian.org | 42 +++++++++++++------ 1 file changed, 30 insertions(+), 12 deletions(-) diff --git a/modules/apache2/files/common/etc/apache2/sites-available/www.debian.org b/modules/apache2/files/common/etc/apache2/sites-available/www.debian.org index 14c54594c..3a028f159 100644 --- a/modules/apache2/files/common/etc/apache2/sites-available/www.debian.org +++ b/modules/apache2/files/common/etc/apache2/sites-available/www.debian.org @@ -130,7 +130,7 @@ # RedirectPermanent /OpenHardware http://www.openhardware.org RedirectPermanent /OpenSource http://www.opensource.org - RedirectPermanent /Bugs/db/ix/pseudopackages.html http://www.debian.org/Bugs/pseudo-packages + RedirectPermanent /Bugs/db/ix/pseudopackages.html /Bugs/pseudo-packages RewriteEngine on RewriteRule ^/Bugs/db/pa/l([^/]+).html$ http://bugs.debian.org/$1 RewriteRule ^/Bugs/db/[[:digit:]][[:digit:]]/([[:digit:]][[:digit:]][[:digit:]]+).html$ http://bugs.debian.org/$1 @@ -138,15 +138,33 @@ Userdir http://people.debian.org/~*/ - RedirectPermanent /doc/prospective-packages http://www.debian.org/devel/wnpp/ - RedirectPermanent /devel/maintainer_contacts http://www.debian.org/intro/organization - RedirectPermanent /zh/ http://www.debian.org/intl/Chinese/ - RedirectPermanent /devel/help http://www.debian.org/devel/join/ - RedirectPermanent /distrib/books http://www.debian.org/doc/books - RedirectPermanent /distrib/vendors http://www.debian.org/CD/vendors/ - RedirectPermanent /distrib/cdinfo http://www.debian.org/CD/vendors/info - RedirectPermanent /related_links http://www.debian.org/misc/related_links - RedirectPermanent /ports/laptops http://www.debian.org/misc/laptops/ - RedirectPermanent /misc/README.mirrors http://www.debian.org/mirror/list - RedirectPermanent /misc/README.non-US http://www.debian.org/mirror/list.non-US + RedirectPermanent /doc/prospective-packages /devel/wnpp/ + RedirectPermanent /devel/maintainer_contacts /intro/organization + RedirectPermanent /zh/ /international/Chinese/ + RedirectPermanent /chinese/ /international/Chinese/ + RedirectPermanent /devel/help /devel/join/ + RedirectPermanent /distrib/books /doc/books + RedirectPermanent /distrib/vendors /CD/vendors/ + RedirectPermanent /distrib/cdinfo /CD/vendors/info + RedirectPermanent /related_links /misc/related_links + RedirectPermanent /ports/laptops /misc/laptops/ + RedirectPermanent /misc/README.mirrors /mirror/list + RedirectPermanent /misc/README.non-US /mirror/list.non-US + RedirectPermanent /intl /international + RedirectPermanent /ports/armel /ports/arm + RedirectPermanent /ports/mipsel /ports/mips + RedirectPermanent /ports/kfreebsd-amd64 /ports/kfreebsd-gnu + RedirectPermanent /ports/kfreebsd-i386 /ports/kfreebsd-gnu + RedirectPermanent /mirror/mirrors_full.html /mirror/list-full.html + RedirectPermanent /mirrors /mirror + RedirectPermanent /News/project /News/weekly + RedirectPermanent /releases/2.0 /releases/hamm + RedirectPermanent /releases/2.1 /releases/slink + RedirectPermanent /releases/2.2 /releases/potato + RedirectPermanent /releases/3.0 /releases/woody + RedirectPermanent /releases/3.1 /releases/sarge + RedirectPermanent /releases/4.0 /releases/etch + RedirectPermanent /releases/5.0 /releases/lenny + RedirectPermanent /releases/6.0 /releases/squeeze + RedirectPermanent /releases/unstable /releases/sid -- 2.20.1