Find which config file Apache uses to find virtual host

0

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?

eje211

Posted 2011-06-26T22:03:42.507

Reputation: 229

Answers

1

# apache2ctl -t -D DUMP_VHOSTS

user1686

Posted 2011-06-26T22:03:42.507

Reputation: 283 655

1

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

eje211

Posted 2011-06-26T22:03:42.507

Reputation: 229