[support] Drush and .htaccess

Bob Morse bob at morsemedia.net
Fri Aug 13 23:16:29 UTC 2010


Oh, thanks! Of course. Should be using version control anyway.  Started 
on that path, got distracted.

On 8/13/10 4:03 PM, Shai Gluskin wrote:
> 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/ ]
>>      

-- 
Bob Morse
Morse Media
Web Development * Web Hosting * Internet Marketing
http://morsemedia.net
707-444-9566
707-496-9191 (cell)
Blog: http://talkingtech.net
Twitter: http://twitter.com/bobmorse



More information about the support mailing list