Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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:

newsubdomain.mydomain.com

and Apache directs it to the data for:

www.someotherdomain.com

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

2 Answers 2

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

 
discard

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.