Super User is a question and answer site for computer enthusiasts and power users. 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

I have a rather complicated Apache setup: some config files have to be manually written and some have to be automatically generated. So far, I've had no problems. But now, I've just tried to set a site at:

and Apache directs it to the data for:

I've looking into all the many config files and can't find anything wrong. All is pointing where it should and no definitions, as far as I can tell, overlap.

Is there a way to see which config files or config instructions Apache is using to match a URL to a directory?

share|improve this question
up vote 1 down vote accepted
# apache2ctl -t -D DUMP_VHOSTS
share|improve this answer
Thanks. That'll be useful for next time. – eje211 Jun 26 '11 at 23:20

I solved it. An automatically generated config file was never read. All fixed now.

share|improve this answer

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.