重定向ip

时间:2010-11-18 14:36:33

标签: redirect

我希望当用户输入http://x.x.x.x时,他们会看到http://x.x.x.y/feeders/den的内容,但网址将为http://x.x.x.x

你能帮忙吗

1 个答案:

答案 0 :(得分:0)

在apache中,您可以通过更改虚拟主机中的DocumentRoot来实现:http://httpd.apache.org/docs/2.0/vhosts/examples.html