title: nodejs, expressjs serving PHP files
body: <p>Ok I've been playing around with nodejs, expressjs and socket.io to create some applications.  But now im coming to the stage where i want to take things a bit further.  </p>
  
  <p>I have noticed a few node apps using PHP for twitter auth on their client side. When I attempt to rename my client.html file to client.php and restart the server it throws up a blank page with this</p>
  
  <pre><code>Cannot GET /
  </code></pre>
  
  <p>How do would serve php files or would i do twitter auto using js?</p>
  
  <p>This is my NodeJS server.js</p>
  
  <pre><code>var http = require('http'),  
      express = require('express');
  
  var app = module.exports = express.createServer();
  
  // Configuration
  app.configure(function(){
      app.use(express.static(__dirname + '/public'));
  });
  
  app.listen(1234);
  console.log("server started on port :1234");
  </code></pre>