Re: [users@httpd] (again) Can not define "default" name virtual host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > 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, uhlar@xxxxxxxxxxx ; 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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux