开发者

It is necessary to load on one domain name pages from different web servers

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/开发者_JAVA技巧 loads from another server 12.34.56.79.

How to make, what it would work?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜