在Godaddy Plesk中上传Lumen 8.0

问题描述

我在godaddy plesk中托管。

我的文件夹结构是这个

  • 主目录
    • .plesk
    • cgi-bon
    • error_logs
    • htdocs
      • api(文件夹)
      • App_Data(文件夹)
      • 图像(文件夹)
      • 布局(文件夹)
      • 页面(文件夹)
      • user.ini
      • index.html
      • license.txt
      • web.config
    • 日志

在我的api文件夹中,如果我放置此链接

http://xxxxx.com/api/public/

它将显示此

流明(8.0.1)(Laravel组件^ 8.0)

这是正确的,因为设置了路线

但是当我使用这个

http://xxxxx.com/api/public/api/register

未找到 在此服务器上找不到所需的文档。

$router->group(['prefix' => 'api'],function () use ($router) {
   $router->post('register','UserController@register');
}); 

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...