Closed (fixed)
Project:
Provision boost support
Version:
6.x-1.0
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2011 at 19:55 UTC
Updated:
23 Dec 2011 at 15:30 UTC
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
Comment #1
bgm commentedGenerally, 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 :)
Comment #2
marko b commentedYou 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.
Comment #3
bgm commentedUsing the provision_boost is the recommended way.
I explained how it works generally so that you can find an alternative method if necessary.
Comment #4
marko b commentedUnderstood, thanx.