How to map appworks tomcat to apache web server sub context?

Hi, I have appwork installed on machine http://appworks.example.com:8080
so i can access gateway http://appworks.dunmore.com:8080/gateway and content http://appworks.example.com:8080/content

I try to use apache reverse proxy or mod rewrite to http://www.example.com/appworks
for example,
http://appworks.example.com:8080/gateway/ -> http://www.example.com/appworks/gateway
http://appworks.example.com:8080/css/ -> http://www.example.com/appworks/css
http://appworks.example.com:8080/content/ -> http://www.example.com/appworks/content

and so on. Please let me if there is example, we can configure reverse proxy and mod_rewrite.

Thanks,
Mark

Comments