贰拭2019-12-19 10:36:16 0 2 713
[PHP讨论组]源自课程章节:TP5路由初体验:10分钟极速入门举报回复话题 ↕
和你做的一样用URL却打不开网页无法访问此网站
<?phpnamespace app\edu\controller;class Test{ public function demo1() { return 123; }}
2
0
分享
P粉332880121 2022-04-19 18:06:502楼
服务器要配置伪静态:
nginx:location / { if (!-e $request_filename){ rewrite ^(.*)$ /index.php?s=$1 last; break; }}
赞 +0添加回复
ringa_lee 2019-12-21 19:57:411楼
访问提示的什么?
P粉332880121 2022-04-19 18:06:502楼
服务器要配置伪静态:
nginx:location / { if (!-e $request_filename){ rewrite ^(.*)$ /index.php?s=$1 last; break; }}
赞 +0添加回复
ringa_lee 2019-12-21 19:57:411楼
访问提示的什么?
赞 +0添加回复