Not sure if this is a feature request or bug report.
Because drush cc all did not clear the Boost cache I was accustomed to do a
rm -rf cache/* to clear the Boost cache. I assumed that everything need to let the Boost cache function would be re-generated as well.
And almost everything is generated again, but not .htaccess. This means that apache will take the default htaccess rules from the Drupal webroot. This is a expiry time of two weeks!
I cannot decide is this is a bug, but two options come in mind:
- Explicitly state in the Boost documentation that people should NOT manually empty the cache directory
- or: re-generate .htaccess when it does not exist
Drush way of clearing Boost cache: clear the cache with the Drush uri parameter.
drush --uri:http://www.yourdomain.com cc all