Bug #47858

Remove .htaccess from Composer Installer Essentials

Added by Christopher Hlubek over 8 years ago. Updated about 8 years ago.

Needs Feedback
Should have
Start date:
Due date:
% Done:


Estimated time:
PHP Version:
Has patch:


It's very hard to tweak mod_rewrite rules if the .htaccess file is not under control of the user. It's a little bit harder to update the file to a new version, but now it's impossible to provide a custom .htaccess with a default deployment without any workarounds.

Also to tweak the .htaccess rules we should stop rewriting if URLs for /apple-touch-icon-*.png are requested, since this will clutter the log and should be treated like the favicon.ico file.

Related issues

Related to TYPO3.Flow - Bug #54553: Web/.htaccess will be overridden on every composer update/installResolved2013-12-21


Updated by Jacob Floyd over 8 years ago

I have to edit the .htaccess file to make Flow work on my shared host. So, I second the motion of not keeping .htaccess itself in version control. Maybe have a _.htaccess and copy it in place if there's no .htaccess there.

I have to add the following line to .htaccess to give flow the right php settings:
SetEnv PHPRC /home/[username]/.php/php.ini


Updated by Robert Lemke over 8 years ago

  • Category set to Package
  • Status changed from New to Needs Feedback
  • Target version set to 2.0

Can you provide a patch and push it to Gerrit? Otherwise we need to postpone it to 2.0.1


Updated by Karsten Dambekalns about 8 years ago

  • Target version changed from 2.0 to 2.0.1

Also available in: Atom PDF