容器日志报错:DocumentRoot must be a directory

启动容器时候报错:
T07:23:27.307940671Z AH00526: Syntax error on line 38 of /etc/apache2/apache2.conf:
T07:23:27.307992612Z DocumentRoot must be a directory
T07:24:27.760485258Z start apache..
T07:24:27.797869335Z Module rewrite already enabled

解决方法:

按照Dockerfile里面DocumentRoot路径,在服务器上新建缺失的current目录

posted on 2017-10-13 15:57  风小可  阅读(645)  评论(0)    收藏  举报