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

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

in /srv/www/vhosts/ my vhost.conf file is located:

However apache seems to ignore this setup. Every http request is routed to /srv/www/vhosts/ instead of to /srv/www/vhosts/

After making changes to the vhost file I always reconfigure it and restart httpd from command line.

Any idea what might be wrong? Maybe some other config overwrites it?

share|improve this question
Is that the only vhost definition on your server ? – Iain Aug 7 '11 at 16:45
up vote 1 down vote accepted

Probably because another configuration file / directive is overriding the one you think the system should be using.

Computers only do what they're told, so somewhere you must be telling it that you want "httpdocs" instead of "htdocs". grep around in your Apache configuration directory for the httpdocs path and work from there.

share|improve this answer
I found a httpd.include that actually overwrites my vhost.conf – ArtWorkAD Aug 7 '11 at 16:55

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.