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 webserver with cPanel / Webhost Manager (WHM). Now I need to install the Apache module mod_vhost_alias so I can use VirtualDocumentRoot.

I've added LoadModule vhost_alias_module modules/ but the .so file does not actually exist. I could download it, but I'm not sure that's the correct way to do it. What is?

share|improve this question

closed as off-topic by HopelessN00b Jan 13 '15 at 21:07

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

This question appears to be off-topic because it is about working with a service provider's management interface, such as cPanel. – HopelessN00b Jan 13 '15 at 21:07
up vote 0 down vote accepted

You can recompile Apache to include this file. cPanel includes a shell script /scripts/easyapache which will recompile Apache from source and include all the necessary apache modules for cPanel to function. If you don't use EasyApache and install from a package or directly from source, you'll run into issues when the cPanel updater upcp runs.

Here's the official documentation for EasyApache

share|improve this answer

If you can compile it, then that's the best way, that or use a package manager. This is only if you're on a server with root access.

share|improve this answer
You're right about compiling from source. But be sure to use /scripts/easyapache to compile from source on a cPanel machine, or else cPanel will break your custom modules when it does it's own updates. – Josh Mar 31 '10 at 3:49

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