Solved

Apache fronting IIS and Tomcat

Posted on 2004-08-16
1
962 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Help with htaccess under apache 7 24
How to set default webapp for host 6 45
Duplicate Records In MySQL 7 54
XAMPP 14 42
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 are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
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…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

895 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

12 Experts available now in Live!

Get 1:1 Help Now