2012-02-14 67 views
0

任何想法,我该如何解决这些问题?当我要去www.facebook.com时,我将被重定向到https://www.facebook.com/xampp/或让jst在我的电脑中说当地的xampp。请任何人都可以帮我吗?输入Facebook网页重定向到https://www.facebook.com/xampp/

这里是我的主机文件

# Copyright (c) 1993-1999 Microsoft Corp. 
# 
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows. 
# 
# This file contains the mappings of IP addresses to host names. Each 
# entry should be kept on an individual line. The IP address should 
# be placed in the first column followed by the corresponding host name. 
# The IP address and the host name should be separated by at least one 
# space. 
# 
# Additionally, comments (such as these) may be inserted on individual 
# lines or following the machine name denoted by a '#' symbol. 
# 
# For example: 
# 
#  102.54.94.97  rhino.acme.com   # source server 
#  38.25.63.10  x.acme.com    # x client host 

127.0.0.1  localhost 

伊夫试图删除127.0.0.1但我依然会redierected到www.facebook.com/xampp

回答

0

你能做到像这样的内容在您的主机文件:

66.220.149.11 localhost 
69.171.224.11 localhost 
69.171.229.11 localhost 

当IP地址是Facebook的当前IP地址,在这个帖子的时候......

这是您可以在HOSTS文件中执行的唯一一种重定向功能,除此之外,Web服务器通常会处理这些请求