mac apache php 访问失败

apache配置虚拟目录后访问失败

无法访问此网站

dds.com 拒绝了我们的连接请求。

请试试以下办法:

ERR_CONNECTION_REFUSED
可以在终端使用如下命令显示具体错误提示:$ sudo /usr/sbin/httpd -k start

192:extra root# /usr/sbin/httpd -k start

AH00112: Warning: DocumentRoot [/usr/docs/dummy-host.example.com] does not exist

AH00112: Warning: DocumentRoot [/usr/docs/dummy-host2.example.com] does not exist

AH00526: Syntax error on line 43 of /private/etc/apache2/extra/httpd-vhosts.conf:

Invalid command 'xc2xa0', perhaps misspelled or defined by a module not included in the server configuration

原文地址:https://www.cnblogs.com/andydao/p/14671810.html