升级macOs Catalina 10.15.3后,Localhost无法找到-无效的命令“ MultiviewsMatch”

时间:2020-02-03 09:06:19

标签: macos apache macos-catalina

我意识到,几天前macOS更新到Catalina 10.15.3之后,我的本地主机停止了运行,之前该主机正常运行。我尝试了互联网上所有可能的方法,但没有一种起作用。

使用for测试时出现以下错误

错误消息

ListView.builder(
  itemCount: snapshot.data.length,
  itemBuilder: (context, index) {
    return Column(
      children: <Widget>[
        Row(
          children: <Widget>[
            //SizedBox(width: 60),
            Text(
              '${snapshot.data[index].weekDayFull}',
              style: TextStyle(
                color: Color(0xff444444),
                fontSize: 32,
                letterSpacing: 2,
                fontWeight: FontWeight.w600,
                fontFamily: 'Fira Sans'
              ),
            ),
          ],
        ),
        Row(
          children: <Widget>[
            //SizedBox(width: 60),
            Column(
              children: <Widget>[
                Text(
                  '${snapshot.data[index].dayOfMonth} ${snapshot.data[index].monthFull}',
                  style: TextStyle(
                    color: Color(0xff333333),
                    fontSize: 14,
                    fontWeight: FontWeight.w400,
                    fontFamily: 'Fira Sans'
                  ),
                ),
              ],
            ),
            Expanded(
              child: Column(
                children: <Widget>[
                  Padding(
                    padding: const EdgeInsets.fromLTRB(10.0, 0, 0, 0),
                    child: Container(
                      decoration: BoxDecoration(
                        //color: Colors.red,
                        border: Border(
                          bottom: BorderSide(
                            color: Color(0xff4A4A4A4A)
                          ),
                        )
                      ),
                    ),
                  ),
                ],
              )
            )
          ],
        )
      ]
    );
  }
)                          

httpd.conf

sudo apachectl configtest

httpd-userdir-conf

➜  ~ sudo apachectl configtest
AH00526: Syntax error on line 272 of /private/etc/apache2/httpd.conf:
Invalid command 'MultiviewsMatch', perhaps misspelled or defined by a module not included in the server configuration

0 个答案:

没有答案