In Jboss AS 7:
Putting Apache in front of Jboss with this works fine:
ProxyPass / http://localhost:8080
ProxyPassReverse / http://localhost:8080
So app is accessed by domain.com/app.
Problem appears when aiming for a clearer URL(Just domain.com):
ProxyPass / http://localhost:8080/app
ProxyPassReverse / http://localhost:8080/app
All javax.faces.resource are not delivered in the second case, because they don't use the war context URL.
Any idea how to get the faces resources in the second case? Maybe just move to mod_jk?
This answer about ResourceHandler, helps pretty much.