Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a feeling I'm missing something obvious.

Disclaimer: I'm not very experienced with linux/apache, or just about anything involved.

I'm trying to use mod_pagespeed on Arch Linux; there is no binary available, but I was able to install it with yaourt from AUR.

Now, the pagespeed module exists /etc/httpd/modules, and there is a configuration file here: /etc/httpd/conf/extra/pagespeed.conf.

But the module is not actually loading or functioning, which I can tell by capturing the headers when requesting a page from the running apache server.

I feel like I likely need to modify httpd.conf in some way to load the module, but I'm having trouble figuring out exactly how. It looks like all the config is in the aforementioned pagespeed.conf file, but is that even being loaded? Doesn't seem so; unless it's just not working.

Any tips at all would be appreciated. Thanks!

share|improve this question
up vote 1 down vote accepted

You're on the right track. You indeed need to enable the module with the LoadModule directive. Search for other instances of that directive in your config and add one that loads mod_pagespeed. More details about configuring apache can be found on google's documentation site, this bit is also explained there.

share|improve this answer
Thanks, looks like I have it figured. My only confusion was that the provided configuration file already had the loadModule directive, so I didn't think I should add it directly to httpd.conf. I've added an "include" statement to bring in the config file and all is well. – Dygerati Jun 3 '13 at 17:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.