[Neos] composer install/composer update execution overrides the .htaccess file

Dominique Feyer dfeyer at ttree.ch
Thu Mar 27 10:23:19 CET 2014

This has been fixed, check this commit:

commit c2beba9f9ea05f8a732a2899db2523123c74df6c
Author: Rens Admiraal <rens.admiraal at typo3.org>
Date:   Tue Mar 4 23:05:29 2014 +0100

    [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


Dominique Feyer
Sent with Airmail

Le 26 mars 2014 à 17:02:20, Pavlina Drosos (pavlinadrosos at gmail.com) a écrit:

Hi guys,  

when I execute composer install or composer update on a Neos project, the  
.htaccess file in the Web directory is always overridden by a new one.  
That's not nice, because my FLOW_CONTEXT is always lost (on a shared  
hosting this is the only place where I can set it up), and if I would like  
to add some redirect rules, they will be overridden too.  

Could someone tell me if this can be avoided somehow?  

Thanks in advance!  

Neos mailing list  
Neos at lists.typo3.org  

More information about the Neos mailing list