httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiran kumar <>
Subject Re: RE: [users@httpd] Apache ReverseProxy for JavaWebStart Application.
Date Thu, 25 Jan 2018 16:03:06 GMT

This is the actual configuration that i have tried
 <VirtualHost *:85>
ProxyRequests Off
ProxyPass                 “/ServicesWeb”      “http://localhost:8080/ServicesWeb”ProxyPassReverse
“/ServicesWeb”      “http://localhost:8080/ServicesWeb”Substitute "s|http://localhost:8080/ServicesWeb/||i"</VirtualHost>


    On Thursday 25 January 2018, 10:40:51 AM GMT-5, kiran kumar <>
 Thanks Rick for your reply. 
I am trying to understand your reply.

The JNLP file that generates dynamically when we launch the client has some urls for the same
java web start application, those urls should be the apache url's instead of the application
server urls which is not happening when the JNLP file generated dyamically. 
As i mentioned in my first email, if i use the ProxyPreserveHost ON, then the generated JNLP
file has the apache host name urls, this way it works, but the other problem i have is, the
third party applications that are reverse proxied in the same virtual host configuration are
not working because of ProxyPreserveHost. 
So, are you saying that we should be able to achieve this using mod_substitute module to tell
JNLP to send traffic back to Apache on the fly without using the ProxyPreserveHost turned
I have given a try as as shown below, but the generated JNLP is starting the application with
the application server url. Please see the screen shot attached.

 <VirtualHost *:85>
ProxyRequests Off
ProxyPass                 “/ServicesWeb”      “http://localhost:8080/ServicesWeb”ProxyPassReverse
“/ServicesWeb”      “http://localhost:8080/ServicesWeb”Substitute "s|http://localhost:8080/ServicesWeb/||i"</VirtualHost>

Please help me on this, i am new comer to apache and i need your expertise to solve the issue.


    On Thursday 25 January 2018, 9:23:42 AM GMT-5, Houser, Rick <>
 #yiv5005007173 -- filtered {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;}#yiv5005007173
filtered {panose-1:2 4 5 3 5 4 6 3 2 4;}#yiv5005007173 filtered {font-family:Calibri;panose-1:2
15 5 2 2 2 4 3 2 4;}#yiv5005007173 p.yiv5005007173MsoNormal, #yiv5005007173 li.yiv5005007173MsoNormal,
#yiv5005007173 div.yiv5005007173MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;}#yiv5005007173
a:link, #yiv5005007173 span.yiv5005007173MsoHyperlink {color:#0563C1;text-decoration:underline;}#yiv5005007173
a:visited, #yiv5005007173 span.yiv5005007173MsoHyperlinkFollowed {color:#954F72;text-decoration:underline;}#yiv5005007173
p.yiv5005007173msonormal0, #yiv5005007173 li.yiv5005007173msonormal0, #yiv5005007173 div.yiv5005007173msonormal0
{margin-right:0in;margin-left:0in;font-size:11.0pt;}#yiv5005007173 span.yiv5005007173ydp811169beskimlinks-unlinked
{}#yiv5005007173 span.yiv5005007173EmailStyle23 {color:windowtext;}#yiv5005007173 .yiv5005007173MsoChpDefault
{font-size:10.0pt;}#yiv5005007173 filtered {margin:1.0in 1.0in 1.0in 1.0in;}#yiv5005007173
div.yiv5005007173WordSection1 {}#yiv5005007173 
It sounds like the client is never sending the traffic to Apache (per the JNLP), so you aren’t
able to touch it until you first tell the client to send it there.  You can either serve
that file statically with the changes already present, or use mod_substitute to modify it
on the fly.
Rick Houser
Web Engineer
From: kiran kumar []
Sent: Wednesday, January 24, 2018 17:42
Subject: [users@httpd] Apache ReverseProxy for JavaWebStart Application.

I have java web start application running in my Jboss Application server.
I have configured the reverse proxy configuration for my JavaWeb start application as shown
<VirtualHost *:85>
ProxyRequests Off
ProxyPass                 “/ServicesWeb”      “http://localhost:8080/ServicesWeb”
ProxyPassReverse “/ServicesWeb”      “http://localhost:8080/ServicesWeb”
I see that my web start application is not getting proxied and the JNLP file launched the
application using my application server host name and port. But the other web applications
which are running in the same Jboss application server JVM instance are getting proxied and
the urls are always the apache urls.
How should i achieve to make it reverse proxied to the apache for my java web start application.
? I heard that there is a directive called ProxyPreserveHost to be turned ON will help the
Java web start application to proxy, but there are issues with this where if there are any
ReverseProxy configurations for third party applications in the same VirtualHost, those applications
are not getting proxied and giving 404 errors.
Please provide the details how i could achieve.
To unsubscribe, e-mail:
For additional commands, e-mail:  
View raw message