Solved

Apache fronting IIS and Tomcat

Posted on 2004-08-16
1
971 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP temp path missing 4 59
local dns 2 177
Xampp Not Stopping 9 43
development site is indexed by google even though behind htpasswd 7 74
In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

749 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