0 Replies Latest reply on Jan 29, 2015 10:32 AM by m.steffens

    How to configure a server root path with Undertow?

    m.steffens

      I'm trying to configure a common server root path with Undertow in Wildfly 8.2. I found multiple hints regarding virtual hosts, or servlet context-root, but they don't appear to match what I'm trying to achieve.

       

      For example, given

       

      * servlet A provided by servlet-a.war, with context root "/servlet-a"

      * servlet B provided by servlet-b.war, with context root "/servlet-b"

      * /subsystem=undertow/server=default-server/https-listener=default/  configured to listen on port 8443

       

      I need to configure "server-prefix", such that my servlets appear at

       

      https://HOST:8443/server-prefix/servlet-a

      https://HOST:8443/server-prefix/servlet-b

       

      Is this possible with a global setting in standalone.xml, without modifying the individual servlets or their deployment attributes?