Bug #54553

Web/.htaccess will be overridden on every composer update/install

Added by Alexander Schnitzler over 1 year ago. Updated over 1 year ago.

Status:Resolved Start date:2013-12-21
Priority:Should have Due date:
Assigned To:- % Done:

100%

Category:-
Target version:-
PHP Version: Complexity:
Has patch:No Affected Flow version:Git master

Description

As the title says, on every composer update/install Web/.htaccess will be copied from somewhere inside the Flow package and overrides the local file.

It's good to have this copy the first time one installs Flow, but after one has added own stuff like RedirectRules e.g. the override is really annoying.


Related issues

related to TYPO3.Flow - Bug #41369: Web/.htaccess is not installed Resolved 2012-09-24
related to TYPO3.Flow - Bug #47858: Remove .htaccess from Composer Installer Essentials Needs Feedback 2013-05-03

Associated revisions

Revision c2beba9f
Added by Rens Admiraal over 1 year ago

[BUGFIX] .htaccess is overwritten by the composer install scripts

The composer update / install scripts overwrite the Web/.htaccess
file which is unwanted behavior as this leads to issues when
people add custom rewrite rules, or if for example setting the
MultiViews option is not allowed.

This change moves the .htaccess, index.php and flow scripts
to the Defaults folder so it will only be initialy placed into
the installation.

Change-Id: Id6233a9694b5ecbc85f81b8f6d95f96412802347
Fixes: #54553
Releases: master, 2.1

Revision f792ef7b
Added by Rens Admiraal over 1 year ago

[BUGFIX] .htaccess is overwritten by the composer install scripts

The composer update / install scripts overwrite the Web/.htaccess
file which is unwanted behavior as this leads to issues when
people add custom rewrite rules, or if for example setting the
MultiViews option is not allowed.

This change moves the .htaccess, index.php and flow scripts
to the Defaults folder so it will only be initialy placed into
the installation.

Change-Id: Id6233a9694b5ecbc85f81b8f6d95f96412802347
Fixes: #54553
Releases: master, 2.1

History

#1 Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/26535

#2 Updated by Gerrit Code Review over 1 year ago

Patch set 2 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/26535

#3 Updated by Gerrit Code Review over 1 year ago

Patch set 3 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/26535

#4 Updated by Gerrit Code Review over 1 year ago

Patch set 1 for branch 2.1 of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/28077

#5 Updated by Rens Admiraal over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF