Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Getting local devel environment setup with Apache 2.4. Looks like things have changed compared to 2.2

In particular, conf.d/ directory is gone and now we have just conf/ directory with a single entry for virtual hosts file in httpd.conf:

#Include conf/extra/httpd-vhosts.conf

How then to get multiple virtual host config files in place and recognized by this, the latest version of Apache?

I'd prefer not to chuck all my virtual host entries in a single file. The conf.d directory solution is nice in that you only virtual host files in there, nothing else config-wise to filter out (minor detail, but cleaner, imo)

share|improve this question

1 Answer 1

up vote 5 down vote accepted

You can always put Include conf.d/*.conf in your httpd.conf if you want...

share|improve this answer
doh, that was rather silly, right there in 2.2 httpd.conf, thanks for the clue in ;-) – virtualeyes Mar 5 '12 at 9:42
if not httpd.conf, can also be added in /etc/apache2/apache2.conf depending on the system. – TryTryAgain Nov 10 at 21:43

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.