title: Node js app.configure is not a function
body: <p>Can anyone tell what is wrong within this code .I have installed all necessary modules .When i run this script then it tells app.configure is not a function . If i am missing any thing , please suggest me .</p>
  
  <pre><code>var express = require('express')
  , app = express()
  , server = require('http').createServer(app)
  , io = require("socket.io").listen(server)
  , npid = require("npid")
  , uuid = require('node-uuid')
  , Room = require('./room.js')
  , _ = require('underscore')._;
  
  app.configure(function() {
  app.set('port', process.env.OPENSHIFT_NODEJS_PORT || 3000);
  app.set('ipaddr', process.env.OPENSHIFT_NODEJS_IP || "127.0.0.1");
  app.use(express.bodyParser());
  app.use(express.methodOverride());
  app.use(express.static(__dirname + '/public'));
  app.use('/components', express.static(__dirname + '/components'));
  app.use('/js', express.static(__dirname + '/js'));
  app.use('/icons', express.static(__dirname + '/icons'));
  app.set('views', __dirname + '/views');
  app.engine('html', require('ejs').renderFile);
  
  /* Store process-id (as priviledged user) */
  try {
      npid.create('/var/run/advanced-chat.pid', true);
  } catch (err) {
      console.log(err);
      //process.exit(1);
  }
  
  });
  </code></pre>