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:[EMAIL PROTECTED] 
> Sent: 14. janúar 2004 19:08
> To: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to