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

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">
         <Item>*</Item>
      </Array>
   </Set>

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


Back to the top