首页 > MaxOS El Capitan本地Apache2.4停止服了,为什么 localhost 还可以访问It Works ?

MaxOS El Capitan本地Apache2.4停止服了,为什么 localhost 还可以访问It Works ?

故事这么开始的,本意在 mac 本地起个 apache,然后塞点 html docs 到 www 里,测测调试用。

但是在MaxOS X10.11 El Capitan,自带的Apache2.4下发现,
无论怎么用 apache 命令,localhost 依然没有变化,停止服务也能工作?

而且即使在 httpd.conf中改了路径

然后重启,开始,停止,重启...localhost 依然没变化,

自带的默认 html 仍然在 /Library/WebServer/Documents 中

在此请教环境大神帮忙。


$ sudo lsof -iTCP -sTCP:LISTEN -n

【热门文章】
【热门文章】