Hacker News new | ask | show | jobs
by chrisan 4154 days ago
FWIW we moved to a .htaccess.dist setup and our build tool would populate the actual .htaccess file with either of your examples depending if you were building for development or production.

.htaccess is ignored while the .htaccess.dist template is part of the reop

1 comments

That still means i need to trigger a rebuild on every pull/checkout/reset. Only a marginal improvement, really.
We only need to rebuild that file when we want to change it, which doesn't happen often. It's been at least a year since I changed my local dev copy for our main project and has survived many pulls/branches/resets

What kinda stuff are you putting in .htaccess that changes so often?