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?

link|improve this question
feedback

2 Answers

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

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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