Apache Server configuration support - Howto configure the first proxy of a chain of proxies

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > February 2006 > Howto configure the first proxy of a chain of proxies





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Howto configure the first proxy of a chain of proxies
rade

2006-02-17, 10:29 pm

Hello !

I have to use a chain of proxies to reach a server in an other network.
It looks like this
10.x.x.x = Client
10.2.1.1 = Proxy1 = 11.z.z.z (I have to modify this one)
11.a.a.a = Proxy2 = 12.b.b.b
12.3.1.8 = Server

Proxy1 and Proxy2 have two nic's. They have to do the routing from one
network to the other.
Proxy2 and the Server are blackboxes to me. The Client program use the
Proxy1 (10.2.1.1) and makes a simple get from Server (12.3.1.8).

But the request stops at Proxy1. I put a apache-rewrite rule the config
but as I can't reach Server directly I don't know who to tell apache to
go via Proxy2 (11.a.a.a).

<VirtualHost 10.2.1.1:80>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^12.3.1.8$
RewriteRule ^/(.*)$ https://%{HTTP_HOST}:44444/$1 [P]
</VirtualHost>

This might work, if I could reach Server by Proxy1 but I have to use
Proxy2. What rule is missing ?

Cheers, rade

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com