doue8385 2013-08-22 18:57
浏览 46
已采纳

如何在Heroku PHP应用程序上启用基本身份验证?

I have a very simple PHP app that is hosted on Heroku (Cedar Stack). I want to turn on basic authentication but I don't know if it is possible. It doesn't look like it supports .htaccess / .htpasswd but I could be wrong. How can I turn on basic auth?

  • 写回答

1条回答 默认 最新

  • dppfxf909679 2013-08-22 22:49
    关注

    Based on this gist it looks like you can add the files you need.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?