<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
</body>
</html>
var express = require('express');
var app = express();
var http = require('http');
var server = http.createServer(app);
server.listen(3000);
app.get('/', function (req, res) {
res.send('sad');
});
app.get('/', function (req, res) {
fs.readFile('/path/to/index.php', {encoding: 'utf8'}, function (err, data) {
if (err) throw err;
res.send('data');
});
});