我创建了一个新的Azure VM,安装了LAMP堆栈,当我在浏览器中访问域名时,它会出现以下错误,我无法通过Google或Stack Overflow找到任何信息:
<?xml version="1.0" encoding="utf-8"?><Error><Code>InvalidQueryParameterValue</Code><Message>Value for one of the query parameters specified in the request URI is invalid.
RequestId:45ba52f4-0001-0086-13ed-e545cf000000
Time:2015-09-03T02:07:58.4816344Z</Message><QueryParameterName>comp</QueryParameterName><QueryParameterValue /><Reason /></Error>
Run Code Online (Sandbox Code Playgroud)
当我通过SSH登录时使用wget http:// localhost时,我收到此错误:
--2015-09-03 02:05:57-- http://localhost/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 65 [text/html]
index.html: Permission denied
Cannot write to ‘index.html’ (Permission denied).
Run Code Online (Sandbox Code Playgroud)
默认站点的apache配置是明确的:
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. …Run Code Online (Sandbox Code Playgroud)