Re: unexpected behaviour of default host

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

 



On Tue, Dec 29, 2015 at 8:49 PM, Hajo Locke <Hajo.Locke@xxxxxx> wrote:
>
>
> Am 29.12.2015 um 20:07 schrieb Eric Covener:
>>
>> On Tue, Dec 29, 2015 at 2:05 PM, Hajo Locke <Hajo.Locke@xxxxxx> wrote:
>>>
>>> In Apache 2.2 we used additional "Servername *", but with 2.4 it is not
>>> allowed to use wildcards with Servername-Directive.
>>
>> I think it was treated as a literal * in 2.2. It's just a shorter/more
>> confusing version of non.existing_host.noTld.
>>
> Using a hostname which is already declared in same conf is not less
> confusing.

How about using an/the IP[:port] address?
That's how the default works actually, selecting the first VirtualHost
listening on the IP[:port] the connection comes from.
Since <VirtualHost *> may serve any request on any IP[:port], choose
any, or indeed "0.0.0.0".

Regards,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-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