From 4bdb24ab8df970c0f410a9c7e704858c96b085c9 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 10 Mar 2018 14:45:31 +0000 Subject: Add a redirect to work as a Gentoo mirror --- site/.htaccess | 2 ++ 1 file changed, 2 insertions(+) diff --git a/site/.htaccess b/site/.htaccess index 031be9b..67eccbc 100644 --- a/site/.htaccess +++ b/site/.htaccess @@ -2,6 +2,8 @@ sethandler cgi-script RewriteEngine on +RewriteCond %{REQUEST_URI} ^/distfiles/(.*) +RewriteRule ^(.*) /download/%1 [L] RewriteCond %{REQUEST_URI} !^/mirrorsearch-cgi RewriteRule ^(.*) /mirrorsearch-cgi/\1 [L] -- cgit v1.2.3