当尝试读取以下网址(URL)时:
发生了下列的错误:
-
Invalid URL
无效的网址
Some aspect of the requested URL is incorrect. Possible problems:
输入网址的某些地方有误,可能是因为:
- Missing or incorrect access protocol (should be `http://'' or similar)
缺少或不正确的通讯协议(应该如 `http://''或类似的开头) - Missing hostname
缺少欲连结的主机名称 - Illegal double-escape in the URL-Path
网址路径中有不合法双重转义符 - Illegal character in hostname; underscores are not allowed
主机名称中包含不合法的字符;下划线是不允许的。
因为你的主机头请求出现问题,解决方法
http_port 80 accel vhost vport
下面是官网说明
# accel Accelerator mode. Also needs at least one of
# vhost / vport / defaultsite.
#
# defaultsite=domainname
# What to use for the Host: header if it is not present
# in a request. Determines what site (not origin server)
# accelerators should consider the default.
# Implies accel.
#
# vhost Accelerator mode using Host header for virtual
# domain support. Implies accel.
#
# vport Accelerator with IP based virtual host support.
# Implies accel.