cancel
Showing results for 
Search instead for 
Did you mean: 

How to handle modified .htaccess files in a composer install so not overwritten later?

How to handle modified .htaccess files in a composer install so not overwritten later?

Since I have a fcgi environment I had to modify several .htaccess files. Will these changes be overwritten when I run a composer update down the road? If so, what do I do to protect those changes so the site doesn't crash on an update?

2 REPLIES

Re: How to handle modified .htaccess files in a composer install so not overwritten later?

I am interesting in it too, so I ask it in the issue tracker: https://github.com/magento/magento2/issues/2498

Re: How to handle modified .htaccess files in a composer install so not overwritten later?

I'm interested too.

Updating with web setup wizard overwrites .htaccess as well.