在阿里云的轻量应用服务器部署了tp5项目
项目可以正常运行,但是进入首页,HTML页面中的css、js效果全部失效(本地正常)
在浏览器控制台出现以下报错 Failed to load resource: the server responded with a status of 404 (Not Found)
意为资源加载失败
我的项目放在服务器/www/wwwroot目录下,引用路径改为以下同样失效
<link rel="stylesheet" type="text/css" media="all" href="/www/wwwroot/tp5/public/static/reception/style/style.css" />
-----------------------------------------------
so,正确的引用方式是?还是其他的配置问题,百度了好几种方法,包括load加载也试过,求解,刚接触不久。。。。。。。。