You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2022/10/20 16:58:13 UTC

[jmeter] branch master updated: Redirect Bing to the real download URL

This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new 6dec35fdf5 Redirect Bing to the real download URL
6dec35fdf5 is described below

commit 6dec35fdf58a4bd075c37fdb574c5e6dbbeb5f3c
Author: Felix Schumacher <fe...@internetallee.de>
AuthorDate: Thu Oct 20 18:58:03 2022 +0200

    Redirect Bing to the real download URL
---
 xdocs/.htaccess | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/xdocs/.htaccess b/xdocs/.htaccess
index 7109433352..a30d89339d 100644
--- a/xdocs/.htaccess
+++ b/xdocs/.htaccess
@@ -15,6 +15,9 @@
 
 RewriteEngine On
 
+# Try to get Bing away from the old download location
+RewriteRule ^download_jmeter(\.html)?$ /download_jmeter.cgi [R]
+
 # Redirect http to https
 # From Cordova PMC Member raphinesse
 # https://s.apache.org/An8s
@@ -29,4 +32,5 @@ RewriteCond %{HTTPS} !=on
 # Redirect to https version
 RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L]
 
-RewriteRule ^/download_jmeter$ /download_jmeter.cgi [R,L]
+
+