Wait, you are managing the setHandler's yourself?
You are not using the deploy module in the distribution?

Almost sounds like you are using embedded-jetty techniques.
Is this the case?

Joakim Erdfelt / [email protected]

On Thu, Aug 6, 2015 at 3:25 AM, John English <[email protected]> wrote:

> On 05/08/2015 20:28, Joakim Erdfelt wrote:
>
>> Dont set virtualHosts at all, no entries.
>> Don't use <Set name="virtualHosts"> at all.
>>
>> That will accept answers from all hosts.
>>
>
> It would appear from my experiments that when there are multiple
> "setHandler" blocks defining webapps all mapped to "/", the last one wins
> if the virtual host lists are not disjoint. If I have one accepting
> 127.0.0.1 (A) and another without a VH list (B), specifying A then B means
> that B always responds. If I reverse the order (B then A), A accepts
> 127.0.0.1 correctly, but generates a default 404 page for 127.0.0.2 rather
> than invoking B.
>
>
> --
> John English
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to