[BUGFIX] Remove wrong RewriteBase in _.htaccess 29/40929/3
authorMarkus Klein <markus.klein@typo3.org>
Mon, 6 Jul 2015 12:36:33 +0000 (14:36 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 6 Jul 2015 17:31:12 +0000 (19:31 +0200)
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

index cd93e8f..725ded7 100644 (file)
@@ -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]