TYPO3-docker-boilerplate icon indicating copy to clipboard operation
TYPO3-docker-boilerplate copied to clipboard

7LTS is not working properly with nginx due Core .htaccess changes

Open jmverges opened this issue 8 years ago • 1 comments

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

jmverges avatar Jun 08 '16 11:06 jmverges

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?

jmverges avatar Jun 08 '16 17:06 jmverges