403 forbidden 错误解决
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
·
最近学习vue.js,在window10的linux子系统上,部署了tomcat。但是在访问tomcat主页时,出现报错:
HTTP Status 403- Forbidden
The server understood the request but refuses to authorize it.

字面意思理解,就是访问这个网站,被server拒绝了。server是我自己控制的,还敢拒绝?
找到index.html文件,发现它是只读文件,浏览器没有执行它的权限!
原因找到了!
解决方案:chmod -R 777 index.html
再次启动浏览器,输入,问题解决!!!
A beautiful web dashboard for Linux
最近提交(Master分支:4 个月前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。
更多推荐



所有评论(0)