【发布时间】:2020-10-01 16:37:15
【问题描述】:
尝试建立第一个简单的网站。我已经阅读了论坛。到目前为止,我通过尝试更改权限使情况变得更糟。该站点在 localhost 和我的本地网络服务器上运行良好。
最初我收到以下 CSS 错误,但所有图像都正确加载。
---.---.--.---/:12 GET http://---.---.--.---/css/styles_hw1e.css net::ERR_ABORTED 404(未找到)
托管服务的 IP 地址在哪里。
HTML头部如下:
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Replace this with your own information -->
<meta name="author" content="" />
<title>H</title>
<link type="text/css" rel="stylesheet" href="./css/styles_hw1e.css" />
<style>
table, th, td
{
border: 1px solid black;
border-collapse: collapse;
}
</style>
</head>
我已经尝试使用以下线程来解决,但现在已经成功搞砸了我的 ftp 权限。
ERROR 403 in loading resources like CSS and JS in my index.php
和
www 的当前权限是
html的权限如下:
有人能给我指出一个关于 linux/Apache Web 服务器权限的好教程或其他关于如何解决的建议吗?我准备把一切都撕掉重新开始。
提前感谢您的帮助
【问题讨论】:
标签: html css linux permissions