问题描述
您好!
假设我有10台服务器,10个ips:
xxx1
xxx2
xxx3
xxx4等
每个服务器托管100多个照片库,所有照片画廊都在一个域名下,
但在不同的目录中:
gallery.com/gallery100
gallery.com/gallery2000
gallery.com/gallery300
gallery.com/gallery4442
如何配置apache指向十种不同的
服务器,取决于访问的图库?
我不希望域名仅被转发,但所有点击任何
图库,如gallery.com/gallery4442,必须在访问窗口中留下
gallery.com/gallery4442.
这可能吗?什么是最好的方法呢?非常感谢!
(如果这还不清楚,我会详细说明)。谢谢!!
Hello!
Suppose I have ten servers at ten ips:
x.x.x.1
x.x.x.2
x.x.x.3
x.x.x.4 and so on
Each server hosts 100+ photo galleries, all under a single domain name,
but in different directories:
gallery.com/gallery100
gallery.com/gallery2000
gallery.com/gallery300
gallery.com/gallery4442
How is it possible to configue apache to point to ten different
servers, depending on which gallery is accessed?
I don''t want the domain to be merely forwarded, but all hits in any
gallery, such as gallery.com/gallery4442, must leave
gallery.com/gallery4442 in the access window.
Is this possible? What''s the best way to do this? Thanks so much!
(If this isn''t clear, I''ll elaborate). Thanks!!
推荐答案
这篇关于Apache / Gallery问题:使用一个域名设置10多个服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!