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 p...@pidster.com wrote: On 26/01/2012 08:50, Monika Solanki wrote: On Thu, Jan 26, 2012 at 8:34 AM, Pid p...@pidster.com 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,

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

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 VirtualHost *:443 #ServerName data.example.com ProxyRequests Off ProxyPreserveHost On

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.

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 ?xml-stylesheet type='text/xsl' href='/myapp/transformation/test.xsl'? On Fri, Jan 27, 2012 at 4:43 PM, André Warnier a...@ice-sa.com wrote: Monika Solanki wrote: ... When tomcat sends back the response, the page looks for the

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 VirtualHost *:443 #ServerName data.example.com ProxyRequests

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 a...@ice-sa.com: 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:

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 ?xml-stylesheet type='text/xsl' href='/myapp/transformation/test.xsl'? 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

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

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 p...@pidster.com 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

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 p...@pidster.com 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,