[support] Drush and .htaccess

Shai Gluskin shai at content2zero.com
Fri Aug 13 23:03:30 UTC 2010


Bob,

Version control is your answer. I use SVN and I make sure any changes on the site are committed before upgrading. After the upgrade I do:

rm .htaccess
svn up (.htaccess file with changes is restored to site from repository)
svn commit

Voilà! Everything is cool.

Shai 

Shai Gluskin

On Aug 13, 2010, at 6:17 PM, Bob Morse <bob at morsemedia.net> wrote:

> Drush is so slick. Learning the basics is easy and well worth it if you  
> manage multiple sites (and you have shell access, of course). But does 
> anyone know how to prevent it from overwriting .htaccess? We always 
> configure the url rewrite rules and have to go in to each updated site's 
> file and re-edit it whenever there's a core update like what just 
> happened. Not a huge problem, but it sort of spoils the fun of drush.
> -- 
> [ Drupal support list | http://lists.drupal.org/ ]


More information about the support mailing list