Re: Realy Need help - Apache PROXY Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey Rick and Dan,

I see nothing particularly complicated in your request. Maybe
this is just me.

I suggest you configure proxy1 as the rewriter/proxy and proxy2 to
be as transparent as possible (-> no rewriting, just proxying).

To make your config more clear, you should use mod_rewrite to
define the proxying (in case you do not know this, read the manual)

Proxy1:

RewriteRule /EloanWeb/EloanWeb.aspx \
  http://proxy2/BixTalkHTTPReceive/BTSHTTPReceive.dll [proxy,last]
ProxyPass / http://proxy2

Where do you get that query string from? Is it in the incoming
request? If not, then you have to add it to the request
with the querystringappend option to the rewrite rule.
(Read the manual)

I do not understand why you put proxy[12] in your path.
Also I do not know where you see a connection problem.

Besides, rewriting and redirecting are very distinct things
and proxying has nothing to do with redirecting. It's
just two methods, that are often used in the same config.

Just my two cents.

regs,

Christian

On Thu, Oct 18, 2007 at 03:28:21PM -0700, Shaw, Dan wrote:
> Hello
> 
>  
> 
> Problem: Need to proxy an incoming URL to an internal web server.
> 
>  
> 
> Requirement: Needs to be a double proxy.  The first proxy will receive
> the incoming URL via https from the Internet.  The first proxy lives in
> the Web DMZ.  The first proxy will forward the URL to the second proxy
> via http.  The second proxy lives in the App DMZ.  The final destination
> is a web server that lives on the internal network.
> 
>  
> 
> Complication: the incoming URL and the destination URL are different.
> 
>  
> 
> Incoming URL: https://qa-te.triadfinancial.com/EloanWeb/EloanWeb.aspx
> 
>  
> 
> Destination URL: http://<internalIP>/BixTalkHTTPReceive/BTSHTTPReceive.dll?EloanInbound/
> 
>  
> 
> The double proxy works if the URL is constant, such as -
> 
>  
> 
> https://qa-te-triadfinancial.com/proxy1/proxy2/BixTalkHTTPReceive/BTSHTT
> PReceive.dll?EloanInbound/.  The first proxy keys off of proxy1 and the
> second proxy keys off of proxy2 such that the resulting URL to the
> internal web server contains
> BixTalkHTTPReceive/BTSHTTPReceive.dll?EloanInbound/.
> 
>  
> 
> The big question is whether Apache supports the ability to
> rewrite/redirect the URL and proxy that rewritten/redirected URL, all
> the while keeping the proxy connections open?  If this is possible, then
> how is it done?
> 
>  
> 
> Thanks in advance for any help.
> 
>  
> 
>  
> 
> Rick / Dan
> 
>  
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux