I followed the instructions to install the module in a drupal site installed on a local apache server. After all the process in status report I found a Boost message:

"The Apache module "mod_headers" is not available. You must enable mod_headers for Apache."

Maybe is a common apache mod on hosting web servers, I don't know, but by default in my local server it was not enabled. Shouldn't it be listed as a requirement on readme.txt.

At least for me without that apache mod (mod_headers) my drupal local installations works fine and with clean URLs working fine too without that mod, so it doesn't seem to be a drupal or clean URLs requirement at all but a boost requirement.

CommentFileSizeAuthor
#5 boost-762756.patch1.18 KBmikeytown2
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikeytown2’s picture

try the latest dev, It's no longer a strict requirement; reminds me, need to fix the status report so its yellow instead of red when this happens. Or is it yellow right now?

manfer’s picture

I disabled mod_headers again to look at status report.

It is a yellow warning saying: "The Apache module "mod_headers" is not available. You must enable mod_headers for Apache."

I really hadn't paid attention to the colour of the warning. As I had read "you must" I suppposed the module was not working without that apache mod enabled.

You mean boost works without that mod? What is the difference then on having that mod or not?

mikeytown2’s picture

The headers are not exactly what they are supposed to be and 1 feature doesn't work. There is also a slight chance for the browser to cache a page & thus when you login you get a page from boost instead of a live page.

bbeyer’s picture

I was wondering about this too. So is mod_headers required or not? As stated above, "you must" should be removed from the status report page.

mikeytown2’s picture

Status: Active » Fixed
FileSize
1.18 KB

fixed the wording of this.

The Apache module "mod_headers" is not available. Enable mod_headers for Apache if at all possible.

Let me know if you come up with a better way to say it.

mikeytown2’s picture

Version: 6.x-1.18 » 6.x-1.x-dev
bbeyer’s picture

Sounds good to me. But can you please explain what is gained when mod_headers is available versus when it isn't available.

mikeytown2’s picture

  <IfModule mod_headers.c>
    Header set Expires "Sun, 19 Nov 1978 05:00:00 GMT"
    Header set Cache-Control "no-store, no-cache, must-revalidate, post-check=0, pre-check=0"
    Header set X-Header "Boost Citrus 1.8"
  </IfModule>

Gives you the cache-control and expires headers. Also can give you the boost x-header to let you know that this file was served from the cache. In short mod_headers can make the output of boost closely mimic the output of a page from the Drupal cache; trying to be as seamless as possible.

Status: Fixed » Closed (fixed)

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

chissy’s picture

And how does one install/enable mod_headers?

muckermarc’s picture

Posted by chissy on December 29, 2010 at 7:26am

And how does one install/enable mod_headers?

this worked for me:
http://desk.stinkpot.org:8080/tricks/index.php/2007/03/enable-mod_header...