dongye9228 2015-12-21 18:04
浏览 72

Heroku打开并使用Codeigniter获得502错误

Just checked my logs and I'm getting this error:

2015-12-21T17:41:06.304648+00:00 app[web.1]: [Mon Dec 21 17:41:06.303907 2015] [autoindex:error] [pid 100:tid 139688442590976] [client 10.147.38.224:15662] AH01276: Cannot serve directory /app/: No matching DirectoryIndex (index.php,index.html,index.htm) found, and server-generated directory index forbidden by Options directive.

What is going on?

  • 写回答

1条回答 默认 最新

  • dqkf36241 2015-12-21 19:45
    关注

    This is likely an issue with you not setting up your Heroku environ properly...have you read through all the documentation? Do you have a Procfile setup in your app root?

    Use a Procfile, a text file in the root directory of your application, to explicitly declare what command should be executed to start your app.

    https://devcenter.heroku.com/articles/getting-started-with-php#define-a-procfile

    评论

报告相同问题?

悬赏问题

  • ¥15 对于这个复杂问题的解释说明
  • ¥50 三种调度算法报错 采用的你的方案
  • ¥15 关于#python#的问题,请各位专家解答!
  • ¥200 询问:python实现大地主题正反算的程序设计,有偿
  • ¥15 smptlib使用465端口发送邮件失败
  • ¥200 总是报错,能帮助用python实现程序实现高斯正反算吗?有偿
  • ¥15 对于squad数据集的基于bert模型的微调
  • ¥15 为什么我运行这个网络会出现以下报错?CRNN神经网络
  • ¥20 steam下载游戏占用内存
  • ¥15 CST保存项目时失败