by pilif · 11y ago · 0 comments
>One thing I learned is that Apache can have problems figuring out which virtual host to use in some cases:
>>If no ServerName is specified, then the server attempts to deduce the hostname by performing a reverse lookup on the IP address.
ServerName is the name Apache reports in Error messages and using for redirects. It has nothing to do with the Host-Header sent by the client. If it did, a reverse lookup definitely wouldn't be of any help either.
His remedy was still ok though - just for the wrong reasons.