Hi all.
Have an apache 2.2 server sitting in DMZ. Have 2 different webservers (1 IIS, 1 Tomcat) behind DMZ. Have 2 external URLs (call it domain1.com and domain2.com). Both point to same public IP address. Here's what I want to do:
Requests to domain1.com get proxied through the DMZ to internal server 1, which listens on port 2080. Requests to domain2.com get proxied through DMZ to internal server 2, which listens on port 80.
Also want to maintain the original host headers (domain 1.com, domain2.com) if possible.
When we only had one redirect it worked fine. I set up one redirect/proxy using mod_JK and an ajp13 connector, using / and /* to point to the connector and redirect to internal server 1. Now they've added internal server 2, and I can't make the redirects work. When I try to use mod_JK, it just takes me to the DMZ server htdocs root.
I can't find a good doc that tells me how to configure this. Can someone shed some light on how I make this work? Thanks much!
Charlie