Solved

Apache fronting IIS and Tomcat

Posted on 2004-08-16
1
961 Views
Last Modified: 2008-01-09
Hi,

I dont know if I can do this but you can tell me: I have a machine with IIS listening on 900 and tomcat listening on 8080. I want the applications they are running to be accessible via the one port/website. I am trying to configure Apache to listen on port 80 and to forward the request to the correct webserver based on the url. I have being trying to use the RemoteProxy directive and VirualHost stuff to no avail i.e. something like:

RemoteProxy http://ip.ip.ip.ip:80/app1 http://sameip:900/app1
RemoteProxy http://ip.ip.ip.ip:80/app2 http://sameip:8080/app2

Any help would be greatly appreciated

gareth
0
Comment
Question by:calahans
1 Comment
 
LVL 15

Accepted Solution

by:
samri earned 200 total points
ID: 11811942
How about using ReverseProxy?

Checkout apache proxy module docs at http://httpd.apache.org/docs-2.0/mod/mod_proxy.html
 * http://httpd.apache.org/docs-2.0/mod/mod_proxy.html#forwardreverse

--- example taken from apache website
ProxyRequests Off

<Proxy *>

Order deny,allow
Allow from all

</Proxy>

ProxyPass             /app1    http://ip.ip.ip.ip:900/app1
ProxyPassReverse  /app1    http://ip.ip.ip.ip:900/app1

ProxyPass             /app2    http://ip.ip.ip.ip:8080/app2
ProxyPassReverse  /app2    http://ip.ip.ip.ip:8080/app3
----------

give it a shot.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now