默认服务器目录: /Library/WebServer/Documents/
目录下有默认主页:index.html.en
如要上传文件,则需要在Documents下新建一个目录进行存放。
访问地址:http://localhost/ http://ip地址/
Terminal 开启服务命令:sudo apachectl start
关闭服务命令: sudo apachectl stop
默认服务器目录: /Library/WebServer/Documents/
目录下有默认主页:index.html.en
如要上传文件,则需要在Documents下新建一个目录进行存放。
访问地址:http://localhost/ http://ip地址/
Terminal 开启服务命令:sudo apachectl start
关闭服务命令: sudo apachectl stop