Redirect lftp users to a page with tools to avoid
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
2117eff422
commit
46bd467ef9
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
|
||||||
RewriteCond %{HTTP_USER_AGENT} "lftp"
|
RewriteCond %{HTTP_USER_AGENT} "lftp"
|
||||||
RewriteRule ^.*$ – [F,L]
|
RewriteRule ^.*$ https://fedoraproject.org/wiki/Infrastructure/Mirroring#Tools_to_avoid [R,L]
|
||||||
|
|
||||||
RewriteRule ^/$ /pub [R=302,L]
|
RewriteRule ^/$ /pub [R=302,L]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue