From e517fd649bc513406ba39821d5b4cd9933ffac5b Mon Sep 17 00:00:00 2001 From: Harry Glatz <glatz@analog.de> Date: Mon, 31 Aug 2015 15:40:09 +0200 Subject: [PATCH] [TASK] Do not set application context by default in htaccess Since the Production context is the default if no context is set via environment variables, we do not forcefully set the context in template .htaccess either. This allows to set the context via webserver configuration without the need to touch the lines in the .htaccess file. Resolves: #69434 Releases: master, 6.2 Change-Id: I70915c51479c91c0db22c7637e46cb1c0fae2db4 Reviewed-on: http://review.typo3.org/42942 Reviewed-by: Markus Klein <markus.klein@typo3.org> Tested-by: Markus Klein <markus.klein@typo3.org> Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de> --- _.htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_.htaccess b/_.htaccess index 55c51ae77a66..954686ccc11f 100644 --- a/_.htaccess +++ b/_.htaccess @@ -265,7 +265,7 @@ AddDefaultCharset utf-8 #RewriteCond %{HTTP_HOST} ^staging\.example\.com$ #RewriteRule .? - [E=TYPO3_CONTEXT:Production/Staging] #RewriteCond %{HTTP_HOST} ^www\.example\.com$ - RewriteRule .? - [E=TYPO3_CONTEXT:Production] + #RewriteRule .? - [E=TYPO3_CONTEXT:Production] # Rule for versioned static files, configured through: # - $GLOBALS['TYPO3_CONF_VARS']['BE']['versionNumberInFilename'] -- GitLab