Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/71.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/vba/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html Can';尝试使用父目录时,请不要链接回css_Html_Css_Amazon Ec2_Apache2 - Fatal编程技术网

Html Can';尝试使用父目录时,请不要链接回css

Html Can';尝试使用父目录时,请不要链接回css,html,css,amazon-ec2,apache2,Html,Css,Amazon Ec2,Apache2,我已经将apache下载到我的ec2 amazon VM上,并替换了index.html文件。index.html文件位于www/html中。但是,当尝试通过链接到www/css中的我的css时 我的css文件似乎没有链接。当将css文件移动到同一目录并编辑链接时 没问题。我不知道我遗漏了什么,也不知道为什么会这样。你的HTMl有来自旧域的标签吗?@covener没有,它没有基标签。

我已经将apache下载到我的ec2 amazon VM上,并替换了index.html文件。index.html文件位于www/html中。但是,当尝试通过链接到www/css中的我的css时

我的css文件似乎没有链接。当将css文件移动到同一目录并编辑链接时


没问题。我不知道我遗漏了什么,也不知道为什么会这样。

你的HTMl有来自旧域的标签吗?@covener没有,它没有基标签。