RE: Realy Need help - Apache PROXY Question

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

 



First thank you for your reply Christian,

We are not apache experts but we understand proxy.

We have read the mod_rewrite and do understand what it can do for us but
one thing it does not indicate with a lot of apache information is what
happens at the transport level. Although at a proxy level the stream
stays open and waits for transport and ACK from client to backend. When
the rewrite is use does it close connection or send ACK.  I would not
think so but getting an 3rd party would help solidify this question.

Thank you,

Dan / Rick

-----Original Message-----
From: Christian Folini [mailto:christian.folini@xxxxxxx] 
Sent: Thursday, October 18, 2007 11:56 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  Realy Need help - Apache PROXY Question

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



---------------------------------------------------------------------
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