Solved

Apache fronting IIS and Tomcat

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

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 …
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.
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

734 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