Re: Problem with settings of Proxy

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

 



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