【发布时间】:2017-11-25 10:18:54
【问题描述】:
我正在尝试运行 cockpit cms,它在 dokku 服务器上带有一个 dockerfile。部署没问题,但是我无法访问该站点。我在浏览器中得到一个 403,它在日志中显示:
AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive
我假设我需要在某处设置$_SERVER['DOCUMENT_ROOT']?!?
我在哪里设置它以及设置到哪个路径?
我可以将其设置为 ENV 吗?是/home/dokku/appname吗?
感谢您的帮助!
P.S.:我是 dokku 和 cockpit cms 的新手。
【问题讨论】:
-
你修好了吗?我在相同的日志中遇到了同样的问题