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 very interesting because you can use ssl on apache only. 2012/1/27, Monika Solanki <msolanki.maili...@gmail.com>: > 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, 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 incorrectly assume the wrong one. >> >> There are now 25 versions of Tomcat 7.0. >> >> >> > >> > My Tomcat version is 7.0.22 >> > >> >> >> >>> 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 which is not being resolved with the redirect. This cause the >> >> browser >> >>> to throw an exception when the site is requested on apache. How do I >> >> solve >> >>> this problem. >> >> >> >> The browser throws an exception or Tomcat does? >> >> >> > >> > The browser complains of not finding the transformation file, but the >> page >> > is being rendered by Tomcat, i.e., it is a dynamic page being generated >> by >> > Tomcat but the page uses the xsl file which is in one of the folders of >> the >> > application folder in webapps of Tomcat. >> > >> > Thanks >> >> >> Where is the XSL file and which part of the system needs to access it? >> > > The apache front is http://data.example.com > tomcat app is : http://localhost:8080/myapp > > tomcat app deployed in <tomcat>/webapps/myapp > myapp uses transformation file, text.xsl, in the folder > <tomcat>/webapps/myapp/transformation > > The page that is displayed when http://localhost:8080/myapp is called uses > the xsl transformation. > > The proxy and reverse proxy pass in the virtual host for > http://data.example.com have been set to > > /endpoint http://localhost:8080/myapp > > I would like http://data.example.com/endpoint to get redirected to > http://localhost:8080/myapp > > 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. > > Everything works smoothly under tomcat > > Thanks > >> >> Where exactly is the XSL file - what is its exact path? >> >> Where is the code that needs the XSL file? >> >> What URL is that code using to access the file? >> >> Does it work if you connect directly to Tomcat, rather than using the >> proxy? >> >> >> p >> >> >> For example, is Tomcat rendering the output or is the browser rendering >> it? >> >> >> >> >> >> p >> >> >> >> >> >> >> >> >> >> -- >> >> >> >> [key:62590808] >> >> >> >> >> > >> >> >> -- >> >> [key:62590808] >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org