一,开启Apache
//开启apache: sudo apachectl start
//重启apache: sudo apachectl restart
//关闭apache: sudo apachectl stop
二,简易http请求demo
http.js
var http = require('http')
http
.createServer(function(
//开启apache: sudo apachectl start
//重启apache: sudo apachectl restart
//关闭apache: sudo apachectl stop
http.js
var http = require('http')
http
.createServer(function(