Skip to content
Advertisement

Heroku 403 Forbidden Error

I deployed a PHP application and when I hit the url, I get the following error:

JavaScript

I guess it tries to go into the app/ directory but it can’t.


My project structure:

JavaScript

What the log shows:

JavaScript

Procfile

JavaScript

.htaccess

JavaScript

Advertisement

Answer

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.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement