Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

【寻求帮助】4.0.0 版本报错 403 Forbidden 您没有权限访问该网页 #307

Closed
Zwas1337 opened this issue Sep 23, 2023 · 3 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@Zwas1337
Copy link

Zwas1337 commented Sep 23, 2023

在我更新4.0.0版本后我就访问不了网页了,用的本地,没有使用服务器,上面写着禁止,您没有权限访问该网页

@Zwas1337 Zwas1337 added the help wanted Extra attention is needed label Sep 23, 2023
@lc6464
Copy link
Collaborator

lc6464 commented Sep 23, 2023

请添加截图。

@yuantuo666
Copy link
Owner

yuantuo666 commented Sep 24, 2023

4.0.0和以前的架构不同,使用了ThinkPHP框架,入口文件在/public下的index.php(即运行目录需要在/public目录下),并且需要设置相关伪静态。

建议使用docker来运行程序。
如执意要自行搭建,请搜索 “你所使用的环境+ThinkPHP部署教程”,例如“宝塔面板ThinkPHP部署教程”

@Zwas1337
Copy link
Author

好的,谢谢

@yuantuo666 yuantuo666 changed the title 我没权限访问我的本地网页??? 【寻求帮助】4.0.0 版本报错 403 Forbidden 您没有权限访问该网页 Sep 27, 2023
@yuantuo666 yuantuo666 pinned this issue Sep 27, 2023
@yuantuo666 yuantuo666 added good first issue Good for newcomers and removed help wanted Extra attention is needed labels Sep 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants