Re: Strrange behavior of VirtualHosts in Apache (Apache 2.2.15 - CentOS6)

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

 



Since you said 2.2, I assume you also have NameVirtualHost 1.2.3.4:80?

> http://www.example.com/  <-- works
> http://hello.example.com/ <-- doesn't work
> http://hello.example.com/host.php <-- gives the HTTP_HOST (PHP-script),
>                                       but why?

HTTP_HOST is just the clients Host: header so this is not too unusual.

>
> doesn't work does mean, that access/errors are logged in a logfile of a
> wrong virtual host ...

Which one specifically?  Perhaps you made an error while redacting the config.

> is it problematic, if some virtual hosts have different IPv6 addresses but
> the same IPv4 address?

Not in this configuration.  Your vhosts only point to a single IP4
local address.

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