diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-03-10 14:45:31 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-03-10 14:45:31 +0000 |
commit | 4bdb24ab8df970c0f410a9c7e704858c96b085c9 (patch) | |
tree | 9a392d213f348b3351c16a9375e9f11e97833903 /site/.htaccess | |
parent | Ignore dev symlink (diff) | |
download | mirrorsearch-4bdb24ab8df970c0f410a9c7e704858c96b085c9.tar.bz2 mirrorsearch-4bdb24ab8df970c0f410a9c7e704858c96b085c9.tar.xz mirrorsearch-4bdb24ab8df970c0f410a9c7e704858c96b085c9.zip |
Add a redirect to work as a Gentoo mirrormirrorsearch-0.1.1
Diffstat (limited to 'site/.htaccess')
-rw-r--r-- | site/.htaccess | 2 |
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] |