[BUGFIX] Remove --div-- without associated label
[Packages/TYPO3.CMS.git] / _.htaccess
index d1d11d4..7944e4f 100644 (file)
@@ -85,11 +85,11 @@ RewriteEngine On
 
 # Rules to set ApplicationContext based on hostname
 #RewriteCond %{HTTP_HOST} ^dev\.example\.com$
-#RewriteRule (.*) $1 [E=TYPO3_CONTEXT:Development]
+#RewriteRule .? - [E=TYPO3_CONTEXT:Development]
 #RewriteCond %{HTTP_HOST} ^staging\.example\.com$
-#RewriteRule (.*) $1 [E=TYPO3_CONTEXT:Production/Staging]
+#RewriteRule .? - [E=TYPO3_CONTEXT:Production/Staging]
 #RewriteCond %{HTTP_HOST} ^www\.example\.com$
-#RewriteRule (.*) $1 [E=TYPO3_CONTEXT:Production]
+#RewriteRule .? - [E=TYPO3_CONTEXT:Production]
 
 # Rule for versioned static files, configured through:
 # - $TYPO3_CONF_VARS['BE']['versionNumberInFilename']
@@ -106,9 +106,11 @@ RewriteRule ^(.+)\.(\d+)\.(php|js|css|png|jpg|gif|gzip)$ $1.$3 [L]
 # For httpd.conf, use these lines instead of the next ones:
 # RewriteRule ^/TYPO3root/fileadmin/(.*/)?_recycler_/ - [F]
 # RewriteRule ^/TYPO3root/fileadmin/templates/.*(\.txt|\.ts)$ - [F]
+# RewriteRule ^/TYPO3root/typo3conf/ext/[^/]+/Configuration/ - [F]
 # RewriteRule ^/TYPO3root/typo3conf/ext/[^/]+/Resources/Private/ - [F]
 RewriteRule ^fileadmin/(.*/)?_recycler_/ - [F]
 RewriteRule ^fileadmin/templates/.*(\.txt|\.ts)$ - [F]
+RewriteRule ^typo3conf/ext/[^/]+/Configuration/ - [F]
 RewriteRule ^typo3conf/ext/[^/]+/Resources/Private/ - [F]
 
 # Stop rewrite processing, if we are in the typo3/ directory.