2012-02-14 30 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服務器通常會處理這些請求