tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynir Þór Hübner" <rey...@hugsmidjan.is>
Subject RE: tomcat pass through to IIS (not IIS to tomcat)
Date Wed, 14 Jan 2004 21:53:05 GMT
Hi, 

I use mod_proxy in Apache to control flow with in one machine. 

By using this, I can decide if I want Apache do render some requests or
forward some requests to IIS, or some of the multiple tomcat instances. 

I use base the decisions on where to render the requests on the host
name, e.g. I use VirtualHost mappings, but not one subfolder of a
website. I guess it's possible I've never tried. 

So a typical virtual host configuration in my server that redirects all
requests for some specific host on to port 8080 (for example some tomcat
instance) : 

<VirtualHost *>
ServerName www.domain.com
ProxyPass / http://www.domain.com:8080/
ProxyPassReverse / http://www.domain.com:8080/
</VirtualHost>

You can also decide not to forward some paths by using :

ProxyPass /somepath !

Then you could map those paths into some other server running on the
same machine on different port, such as IIS. 
That I haven't done my self, so I leave it to you to find out how that's
done. 

Hope it helps
-reynir


> -----Original Message-----
> From: Chris Morrisette [mailto:cmorrisette@enterbridge.com] 
> Sent: 14. janúar 2004 19:08
> To: tomcat-user@jakarta.apache.org
> Subject: tomcat pass through to IIS (not IIS to tomcat)
> 
> 
> Hi,
> 
>   We are using tomcat with struts for our main web 
> application, but have decided to use SQL Sever 2000 Reporting 
> Services as our reporting tool. In order to do this, IIS 
> needs to be available to the web.
> 
> So, is there anyway to make Tomcat forward all resources 
> under a certain directory to IIS?  (for instance 
http://localhost/index.jsp goes to Tomcat, but
http://localhost/reports/report1 goes to IIS).

I've searched on the web and in the archives, but have only found
solutions for vice versa.

Thanks a lot,

-Chris



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message