[jboss-user] [Beginner's Corner] - Re: how to change the root url of jboss

PeterJ do-not-reply at jboss.com
Thu Oct 8 11:20:17 EDT 2009

Is the URL www.example.com also handled by JBoss AS or by something else?  If by JBoss AS then it is not possible, at least, not without changing every context for every app [hmm, I don't even know if you can set /jboss/app1 as a context... - just now tried it - it works - well, ya l'arn somethin' new ev'r' day!] (see next paragraph for an alternative). If it will be handled by something else, then you might be able to do this by front-ending with Apache and have it redirect every request for www.example.com/jboss to JBoss AS, after rewriting the URL.

By the way, if all URLs are to be handled by JBoss AS why not change just the context of the home page to /jboss and keep app1 at /app1 (rather than at /jboss/app1)? And then use the / context for the appropriate app.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259400#4259400

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259400

More information about the jboss-user mailing list