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/11 14:56:23 UTC

[jmeter-site] branch asf-site updated: No slash in front of our URLs in rewrite rules

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

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


The following commit(s) were added to refs/heads/asf-site by this push:
     new 4746636  No slash in front of our URLs in rewrite rules
4746636 is described below

commit 4746636b33f1367aceb9b74d0509e9fb69308189
Author: Felix Schumacher <fe...@internetallee.de>
AuthorDate: Tue Oct 11 16:56:11 2022 +0200

    No slash in front of our URLs in rewrite rules
    
    we are relative to the location of the .htaccess, it seems.
---
 .htaccess | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.htaccess b/.htaccess
index 9b85b91..a30d893 100644
--- a/.htaccess
+++ b/.htaccess
@@ -16,7 +16,7 @@
 RewriteEngine On
 
 # Try to get Bing away from the old download location
-RewriteRule ^/download_jmeter(\.html)?$ /download_jmeter.cgi [R]
+RewriteRule ^download_jmeter(\.html)?$ /download_jmeter.cgi [R]
 
 # Redirect http to https
 # From Cordova PMC Member raphinesse