summaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
Diffstat (limited to 'site')
-rw-r--r--site/.htaccess2
1 files changed, 2 insertions, 0 deletions
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
</Files>
RewriteEngine on
+RewriteCond %{REQUEST_URI} ^/distfiles/(.*)
+RewriteRule ^(.*) /download/%1 [L]
RewriteCond %{REQUEST_URI} !^/mirrorsearch-cgi
RewriteRule ^(.*) /mirrorsearch-cgi/\1 [L]