I am just wondering if I setup a drupal site with aegir, boost module will work only with this module also installed? If I manually install boost with that drupal installation it won't work?

Comments

bgm’s picture

Status: Active » Fixed

Generally, yes:

* this provision_boost module detects if the boost module is enabled, and if yes, inserts the "rewrite rules" in the site vhost.

* for boost to work you will need either the rewrite rules in the site vhost (~/config/server_master/apache/vhosts/sitefoo.conf), or add them to the .htaccess of your Drupal platform.

Recent versions of Aegir do an "#include .htaccess" from the global conf in ~/config/server_master/apache/platform/platform_foo.conf, so it's not a problem (as long as you gracefully restart Apache when you modify the .htaccess). In earlier days, Aegir would have its own conf in the platform_foo.conf and ignore completely the .htaccess of a site, so it was more difficult to configure Boost and you really needed this module.

Also, if you create your platforms using drush_make, you probably don't want to edit your .htaccess manually unless you store your patches separately and apply them with drush_make. (so that you don't have to do manual editing of files every time you create a new platform, version control, etc etc).

Long story short, I recommend using this module if you are using boost with Aegir :)

marko b’s picture

You said Yes, but you ment, No it will work, right? :-) I am just wondering so if there is some problem i can still manually install module to site and make it work.

bgm’s picture

Using the provision_boost is the recommended way.

I explained how it works generally so that you can find an alternative method if necessary.

marko b’s picture

Understood, thanx.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.