> > 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...

On 27.06.06 13:06, Pid wrote:
> So you want to return default.fantomas.sk in all cases where the IP
> address or another ServerName is not defined?

Yes, for everything that does not exist. 195.168.3.66 and
fantomas.fantomas.sk do exist and they should return something I configure,
everything else should go to "default.fantomas.sk"

> Your problem here is that the ServerName requires a fully-qualified
> domain name, rather than an IP address.

I think that ServerName could contain anything that users may request in the
Host: header ;-)

(and there are some historical cases where IP's are called directly)

> 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 documentation (somehow) says that virtual host applies, if the requested
name matches ServerName or ServerAlias. What I show here is, that it matches
even if the requested name matches the "name" defined in
<VirtualHost "name"> which is not documented (and causes problems to me).

-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Posli tento mail 100 svojim znamim - nech vidia aky si idiot
Send this email to 100 your friends - let them see what an idiot you are

---------------------------------------------------------------------
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