Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Customizing 404 response for virtual hosts

Dont set virtualHosts at all, no entries.
Don't use <Set name="virtualHosts"> at all.

That will accept answers from all hosts.

Joakim Erdfelt / joakim@xxxxxxxxxxx

On Wed, Aug 5, 2015 at 3:58 AM, John English <john.foreign@xxxxxxxxx> wrote:
On 05/08/2015 13:19, John English wrote:
So, can I just follow this with another nearly-identical setHandler
block but pointing at a different Descriptor and Resource-Base, and with
a VH spec as follows?

   <Set name="virtualHosts">
      <Array type="java.lang.String">

BTW: I just knocked up a quick test for this, in case it was the right answer, but it doesn't work -- it just makes the original webapp completely inaccessible, and I can't even get at the root index.html page from the new context... :-(

John English
jetty-users mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top