关于如何解决这些问题的任何想法?当我要访问www.facebook.com时,我将被重定向到https://www.facebook.com/xampp/或者让jst在我的电脑中说出本地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,但我仍然会被重新发送到www.facebook.com/xampp
答案 0 :(得分:0)
您可以在主机文件中执行此操作:
66.220.149.11 localhost
69.171.224.11 localhost
69.171.229.11 localhost
如果IP地址是本帖子发布时Facebook的当前IP ...
这是您可以在HOSTS文件中执行的唯一类型的重定向功能,除此之外,Web服务器通常会处理这些请求