httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Alias-ed directory appears on multiple virtual hosts
Date Tue, 07 Dec 2010 18:35:31 GMT
On Tue, Dec 7, 2010 at 1:26 PM,  <breg@kanka.de> wrote:
> Hello,
>
> On 07.12.2010 19:13, Eric Covener wrote:
>>>
>>> What works and should _not_ work:
>>> https://twosite.com/phppgadmin
>>
>> You only listed one port 443 virtualhost, and it has the Alias in it.
>>
>> Apache finds the best match for the IP:Port, then looks at the
>> ServerName/ServerAlias in that set of NameVirtualHost's.
>
> But there it finds only onsite.com definitions - so I'd expect it not to
> serve anything with https://twosite.com/... - right?
>

No, based on my short description of how a virtualhost is found, you
never jump to 2nd-best IP:PORT match to match up a
servername/serveralias (especially in this case where you'd be jumping
from HTTPS to HTTP)

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message