httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaw, Dan" <DS...@triadfinancial.com>
Subject RE: [users@httpd] Realy Need help - Apache PROXY Question
Date Fri, 19 Oct 2007 17:05:58 GMT
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@post.ch] 
Sent: Thursday, October 18, 2007 11:56 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message