How to install an Apache module

6 posts / 0 new
Last post
#1 Wed, 04/27/2011 - 17:25
lex

How to install an Apache module

Hi,

is there an easy way to install an Apache module in Virtualmin/Webmin?

I saw the following message at a settings page of a wordpress plugin:

Missing Apache Modules

mod_headers mod_expires

Thanks,

Lex

Wed, 04/27/2011 - 17:51
andreychek

Howdy,

Which distro/version are you using?

-Eric

Wed, 04/27/2011 - 18:21 (Reply to #2)
lex

Hi Eric,

Virtualmin version: 3.84.gpl GPL

on Ubuntu 10.04.1

I hope that's what you wanted to know...

Wed, 04/27/2011 - 18:43
andreychek

Okay, there's modules for Apache on Ubuntu named "expires" and "headers", but they aren't necessarily enabled by default.

You can manually enable those from the command line by running these commands as root:

a2enmod expires
a2enmod headers
Wed, 04/27/2011 - 19:11 (Reply to #4)
lex

That simple hey. Well, it works now, so thanks a lot!

Do you ever sleep?

Lex

Wed, 04/27/2011 - 19:13 (Reply to #5)
lex

p.s. I see them now as well in webmin - servers - apache webserver - Configure Apache Modules, but I don't know if they were there before, as I was looking for mod_xxx instead of just 'headers' and 'expires'...

Topic locked