[FOLLOWUP][!!!][TASK] Move deprecated entrypoints to deprecated.php 62/42562/4
authorBenjamin Mack <benni@typo3.org>
Thu, 13 Aug 2015 11:36:03 +0000 (13:36 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Thu, 13 Aug 2015 12:35:36 +0000 (14:35 +0200)
Ensure rewrite rules of main .htaccess files are still in actions.
This is required for protection mechanismns and version number
in file names.

Resolves: #68812
Releases: master
Change-Id: I0b30f4abdaa3832f066f591958db5598618c14c6
Reviewed-on: http://review.typo3.org/42562
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/.htaccess

index be21169..f9ac480 100644 (file)
@@ -1,6 +1,9 @@
 <IfModule mod_rewrite.c>
 
        RewriteEngine On
+       # Use options from the htaccess in the main directory of the frontend in order
+       # to have versioned static files working
+       RewriteOptions inherit
 
        # Store the current location in an environment variable CWD to use
        # mod_rewrite in .htaccess files without knowing the RewriteBase
@@ -11,5 +14,5 @@
        RewriteRule ^install(\/?.*)$ %{ENV:CWD}sysext/install/Start/Install.php [R=307,L]
 
        # Redirect old entry points
-       RewriteRule ^(ajax|alt_clickmenu|alt_db_navframe|alt_doc|alt_file_navframe|browser|db_new|dummy|init|login_frameset|logout|mod|move_el|show_item|tce_db|tce_file|thumbs)\.php$ %{ENV:CWD}deprecated.php [L]
+       RewriteRule ^(ajax|alt_clickmenu|alt_db_navframe|alt_doc|alt_file_navframe|browser|db_new|dummy|init|login_frameset|logout|mod|move_el|show_item|tce_db|tce_file|thumbs)\.php$ %{ENV:CWD}deprecated.php
 </IfModule>
\ No newline at end of file