Literadix
Literadix

Reputation: 1407

Can I change web application root globally in jboss 4.2?

I have following situation of deployment:

When I deploy it in Jboss, I get three url contexts:

Is it possible to change (prepend) globally an additional path to all deployed webapplication in a single setting, so that my new path would look like this?

I do not want to change the war by using jboss-web.xml, but I am looking to do this in a general way on a central position, so even new wars will get this context prepended.

Upvotes: 3

Views: 220

Answers (1)

beny23
beny23

Reputation: 35068

This is slightly off topic, but in a lot of production environments you'd have a web server such as Apache "in front" of your appserver (in this case JBoss), which you would be able to set up with a path (check out mod_rewrite, though don't quote me on that).

Upvotes: 1

Related Questions