Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-27 Thread André Warnier
Monika Solanki wrote: Hi Andre, The link to the xsl file in the page is Ok, so what you say below is not correct. The browser is looking for "http://data.example.com/myapp/transformation/test.xsl";. And the server at "http://data.example.com"; only proxies to Tomcat, the URLs which start

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-27 Thread Luciano Andress Martini
ummm im really sorry =[ 2012/1/27, André Warnier : > Luciano Andress Martini wrote: >> For facility your understaing, you can do exactly that: >> >> Apache Front: >> http://data.example.com >> >> Edit the configuration of the VirtualHost for this domain, example: >> >> /etc/apache2/sites-enable/0

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-27 Thread André Warnier
Luciano Andress Martini wrote: For facility your understaing, you can do exactly that: Apache Front: http://data.example.com Edit the configuration of the VirtualHost for this domain, example: /etc/apache2/sites-enable/000-default #ServerName data.example.com ProxyRequests Off ProxyPreserveHo

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-27 Thread Monika Solanki
Hi Andre, The link to the xsl file in the page is On Fri, Jan 27, 2012 at 4:43 PM, André Warnier wrote: > Monika Solanki wrote: > ... > > >> When tomcat sends back the response, the page looks for the transformation >> file, >> http://data.example.com/**transformation/test.xsl

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-27 Thread André Warnier
Monika Solanki wrote: ... When tomcat sends back the response, the page looks for the transformation file, http://data.example.com/transformation/test.xsl and of course cannot find it. Monika, tell us *exactly* how the link to the XSL file is, in the html page that the browser receives. Ope

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-27 Thread Luciano Andress Martini
For facility your understaing, you can do exactly that: Apache Front: http://data.example.com Edit the configuration of the VirtualHost for this domain, example: /etc/apache2/sites-enable/000-default #ServerName data.example.com ProxyRequests Off ProxyPreserveHost On RewriteEngine On ProxyPass

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-27 Thread Luciano Andress Martini
If you want to tunnel a connection to one apache to an internal tomcat server you can with that: Open a config file from a site like /etc/apache2/sites-available/000-default and put this: ProxyPass /est http://192.168.3.38:8080/est ProxyPassReverse /est http://192.168.3.38:8080/est =] This is v

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-27 Thread Monika Solanki
On Thu, Jan 26, 2012 at 2:45 PM, Pid wrote: > On 26/01/2012 08:50, Monika Solanki wrote: > > On Thu, Jan 26, 2012 at 8:34 AM, Pid wrote: > > > >> On 26/01/2012 04:56, Monika Solanki wrote: > >>> I am using tomcat 7.x. I would like to redirect requests to a site on > >>> apache, port 80 to one of

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-26 Thread Pid
On 26/01/2012 08:50, Monika Solanki wrote: > On Thu, Jan 26, 2012 at 8:34 AM, Pid wrote: > >> On 26/01/2012 04:56, Monika Solanki wrote: >>> I am using tomcat 7.x. I would like to redirect requests to a site on >>> apache, port 80 to one of my application running on tomcat, >> localhost:8080. >>

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-26 Thread Monika Solanki
On Thu, Jan 26, 2012 at 8:34 AM, Pid wrote: > On 26/01/2012 04:56, Monika Solanki wrote: > > I am using tomcat 7.x. I would like to redirect requests to a site on > > apache, port 80 to one of my application running on tomcat, > localhost:8080. > > Please tell us exactly which version of Tomcat (

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-26 Thread Pid
On 26/01/2012 04:56, Monika Solanki wrote: > I am using tomcat 7.x. I would like to redirect requests to a site on > apache, port 80 to one of my application running on tomcat, localhost:8080. Please tell us exactly which version of Tomcat (and anything else that's relevant, e.g. HTTPD), or we may

Redirecting apache http requests to tomcat application running on 8080

2012-01-25 Thread Monika Solanki
I am using tomcat 7.x. I would like to redirect requests to a site on apache, port 80 to one of my application running on tomcat, localhost:8080. I have set up the proxy and reverse proxy to redirect the request and this is working. However the application on tomcat is associated with an xsl file w