|
|
Re: How to configure Apache as Reverse Proxy for RAP Application [message #1282954 is a reply to message #1281295] |
Wed, 02 April 2014 20:01  |
Eclipse User |
|
|
|
With the configuration below it is possible to access the site w/o specifying the context (http://myhost.com) instead of http://myhost.com/mycontext
# The order of the lines below is important.
ProxyPass /rwt-resources http://192.168.1.10:12345/rwt-resources
# We need the ProxyPassMatch here so we can pass:
# /mycontext;jsessionid=180n7dktdjjld3tl11pd9ufof on to Jetty
ProxyPassMatch ^/(mycontext.*)$ http://192.168.1.10:12345/$1
ProxyPassReverse /mycontext http://192.168.1.10:12345/mycontext
ProxyPassReverse /rwt-resources http://192.168.1.10:12345/rwt-resources
ProxyPass / balancer://mycluster/ stickysession=JSESSIONID|jsessionid nofailover=On
<Proxy balancer://mycluster>
BalancerMember http://192.168.1.10:12345/mycontext/
</Proxy>
|
|
|
Powered by
FUDForum. Page generated in 0.03777 seconds