httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: How to determine the "right" vhost in name based vhosting
Date Tue, 24 Sep 2013 10:17:41 GMT
On Sep 24, 2013 5:40 AM, "Christoph Gröver" <grover@sitepark.com> wrote:
>
>
> Hello list, Hello Sorin,
>
> I tested several different Apaches (2.4.x and 2.2.x) and they never did
> the wanted or expected.
>
> If I configure more than one VHost only the first one is returned by
> the server->server_hostname structure.> The one of the second vhost that
is configured as a "ServerName" seems
> to be impossible to determine?
>
> Is there any other way to find the hostname?

When you check, are you in the middle of a request that's mapped to the 2nd
virtual host?  In what phase do you inspect the value? If you define a
logfile in your 2nd vhost, does it accumulate entries?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message