Bug #47858
Remove .htaccess from Composer Installer Essentials
0%
Description
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
Updated by Jacob Floyd over 7 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 7 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