tags:

views:

36

answers:

1

It is necessary to load on one domain name pages from different web servers (apache2). For example, www.somesite.ru/page/ loads from server 12.34.56.78 and www.somesite.ru/another_page/ loads from another server 12.34.56.79.

How to make, what it would work?

A: 

Solved.

on ip .78 I used mod_rewrite + mod_proxy.

RewriteRule ^/(another_page)\/?$ http://www2.somesite.ru/$1 [P]

www2.somesite.ru has ip .79

shurik2533

related questions