Re: Alias-ed directory appears on multiple virtual hosts

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

 



On Tue, Dec 7, 2010 at 1:26 PM,  <breg@xxxxxxxx> 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@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