httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Petr Hracek <phrac...@gmail.com>
Subject Re: [users@httpd] Problem with settings of Proxy
Date Wed, 23 Sep 2009 10:17:53 GMT
Are there any steps how to dynamically make proxy in Apache?
Let say the I would like to connect to the other servers using proxy.
Servers has DHCP IP addresses and are shown in a web page of Apache2.

One time there are tree servers available and another time there are 10
servers available.
I would like to create Proxy in Apache2 so that
when I enter to the link https://<ipaddress>/wbm_<ip2>/
then new window will be opened with URL https://<ip2>/

Important is that Apache2 should not be restarted.

Is there any way how to do that dynamically?

thank you in advance
Petr

2009/9/22 Petr Hracek <phracek2@gmail.com>

> Could you please help me how to configure apache so that apache2.2 will
> work
> for my case?
>
> When to user will start URL with https://<ipaddress>/wbm_<new_
> ip/
> then new_ip should be called in the new window so that https://<new_ip>/
> will be opened.
>
> RewriteRules are:
> RewriteRule ^/wbm_(.*)$     http://$1 [P]
> RewriteRule ^/wbm_(.*)/(.*)    http://$1/$2  [P]
>
> Is it possible to write down to the configuration file of apache following:
> ProxyPassReverse /wbm_(.*)/ http://$1/
>
> How to configure it over ProxyPass and ProxyPassReverse?
>
> thank you in advance
> Petr
> 2009/9/22 Tom Evans <tevans.uk@googlemail.com>
>
> On Tue, 2009-09-22 at 14:59 +0200, Petr Hracek wrote:
>> > Unfortunatelly I have found that we have a system where is installed
>> > apache 1.3.
>> > It would be good to have solution for both. Apache 1.3 and Apache 2.2
>> >
>> > regards
>> > Petr
>>
>> If you take 1.3 and add the missing features, then you would have
>> 2.2 ...
>>
>> If you really can't update the apache 1.3 to apache 2.2, then you can
>> run apache 2.2 in front of 1.3, and proxy to it. Apache like this can be
>> very lightweight and effecient, eg using event MPM etc.
>>
>> Cheers
>>
>> Tom
>>
>>
>> ---------------------------------------------------------------------
>> 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