Skip to content


Apache2 on Feisty

So I kept running into the following problem on my shiny new Feisty server:

 * Starting web server (apache2)...
Syntax error on line 141 of /etc/apache2/apache2.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration

After a bit of Googling, I found this bug in Ubuntu. The lame part is it’s not been fixed, and probably won’t be since the focus is on Gutsy…

Anywho, it suggested loading mod_authz_host, like so:

sudo a2enmod authz_host

But when I tried to start Apache again, I got this:

 * Starting web server (apache2)...
Syntax error on line 145 of /etc/apache2/apache2.conf:
Invalid command 'TypesConfig', perhaps misspelled or defined by a module not included in the server configuration

Grrr… Another Google search led me to this useful page, which told me the missing module here is mod_mime. Load that like so:

sudo a2enmod mime

And you should see:

 * Starting web server (apache2)...        [ OK ]

Posted in Apache, Linux, Tips and Tricks, Ubuntu.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.