Heroku 403 Forbidden Error

强颜欢笑 提交于 2019-12-04 04:33:04

Ehhmm so I found the solution.

My Procfile had a .txt extension (so Procfile.txt) whereas it needs to be only Procfile.

Quit a silly mistake but I thought I should leave the answer here for future reference. Maybe it will save time from someone else.

vivek rautela

I was also having the same problem because I was not having any index.php file in the root folder so I did not get anything, resulting in that error. If you have same problem then after the heroku app url just type your homepage php file. For example - app/custom.php .

Extremely strange error! Procfile wasn't the cause of issue for me.

For some reason, it fixed when I made an empty directory called "app" inside my root folder.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!