From f93a87a32a59f4f229743a9d026f3e5528ed51f8 Mon Sep 17 00:00:00 2001
From: Markus Klein <markus.klein@typo3.org>
Date: Mon, 6 Jul 2015 14:36:33 +0200
Subject: [PATCH] [BUGFIX] Remove wrong RewriteBase in _.htaccess

The configuration now works independently of RewriteBase,
hence we must not define one.

Resolves: #67922
Releases: master, 6.2
Change-Id: Ib1e14f808fbf2e7abd08a4e85d2a3d4e8509060a
Reviewed-on: http://review.typo3.org/40929
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Tested-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
---
 _.htaccess | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/_.htaccess b/_.htaccess
index cd93e8f6dcd8..725ded7121b8 100644
--- a/_.htaccess
+++ b/_.htaccess
@@ -254,10 +254,8 @@ AddDefaultCharset utf-8
 	# Enable URL rewriting
 	RewriteEngine On
 
-	# Using mod_rewrite in .htaccess files without knowing the RewriteBase
-	RewriteBase /
-
-	# Store the current location in an environment variable CWD
+	# Store the current location in an environment variable CWD to use
+	# mod_rewrite in .htaccess files without knowing the RewriteBase
 	RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$
 	RewriteRule ^.*$ - [E=CWD:%2]
 
-- 
GitLab