Symfony on Heroku: 403 Forbidden You don't have permission to access / on this server

后端 未结 3 976
無奈伤痛
無奈伤痛 2020-12-16 23:07

I\'ve successfully deployed my Symfony 2 App to Heroku but now, when I\'m trying to access it, I receive the following 403 error:

Forbidden

<
3条回答
  •  失恋的感觉
    2020-12-16 23:14

    Incase anyone still having this problem you can try to replace the double quotes with single quotes in the Procfile

    Example

    "web: vendor/bin/heroku-php-apache2 public/"
    

    Should be

    'web: vendor/bin/heroku-php-apache2 public/'
    

提交回复
热议问题