Matus UHLAR - fantomas wrote:
>>> afaik the server does not resolve IP's to hosts here (do you have other
>>> informations?)
>>
>> <VirtualHost 195.168.3.66:80>
>> ServerName 195.168.3.66
>> DocumentRoot /home/webs/195.168.3.66
>> </VirtualHost>
>>
>> <VirtualHost 195.168.3.66:80>
>> ServerName default.fantomas.sk
>> DocumentRoot /home/webs/default.fantomas.sk
>> </VirtualHost>
> 
> In this case, no requests will reach "default.fantomas.sk" (this name does
> not exist) because 195.168.3.66 will be default host. And the thing is I
> want to differentiate between those...

So you want to return default.fantomas.sk in all cases where the IP
address or another ServerName is not defined?

Your problem here is that the ServerName requires a fully-qualified
domain name, rather than an IP address.  It serves the default host when
it can't decide which to pick, this would include an IP address.

I don't think there's a bug, or even an undocumented behaviour.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to