TYPO3-docker-boilerplate
TYPO3-docker-boilerplate copied to clipboard
7LTS is not working properly with nginx due Core .htaccess changes
Hi there,
this commit: https://github.com/TYPO3/TYPO3.CMS/commit/f00efef1bd93181fe1c594bf169cd8ccb6eb7f63
breaks the LTS with nginx
this line make half of the job:
rewrite ^/(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$ /${cwd}deprecated.php last;
however I have no clue how translate
RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$
RewriteRule ^.*$ - [E=CWD:%2]
to nginx
I think this could work:
rewrite ^(.*/)(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$ $1deprecated.php last;
Could you confirm it and I do a PR?