title: My iisnode setup wont serve the static files
body: <p>What is wrong with my setup? have in mind I use express.</p>
  
  <p>web.config file :</p>
  
  <pre><code>&lt;handlers&gt;
    &lt;add name="iisnode" path="app.js" verb="*" modules="iisnode" /&gt;
  &lt;/handlers&gt;
  
  &lt;rewrite&gt;
    &lt;rules&gt;
      &lt;rule name="myapp"&gt;
        &lt;match url="/*" /&gt;
        &lt;action type="Rewrite" url="app.js" /&gt;
      &lt;/rule&gt;
    &lt;/rules&gt;
  &lt;/rewrite&gt;
  </code></pre>
  
  <p>and the app.js is as below :</p>
  
  <pre><code>var express = require('express');
  var app = express();
  var server = http.createServer(app).listen(process.env.port);
  
  app.use(express.static(__dirname + '/pro/Public'));
  
  app.get('/pro',function(req,res) {
   res.sendfile(__dirname + '/yoyo.html');
   res.end;
  });
  </code></pre>
  
  <p>and the html has the classic layout like this:</p>
  
  <pre><code>&lt;link rel="stylesheet" type="text/css" href="cssKtelVolouOsm.css"&gt;
  &lt;script type="text/javascript" src="javascriptKtelVolouOsm.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>and I get the following errors:</p>
  
  <pre><code>Failed to load resource: the server responded with a status of 404 (Not Found)      http://localhost/cssKtelVolouOsm.css 
  
  
  Failed to load resource: the server responded with a status of 404 (Not Found)      http://localhost/javascriptKtelVolouOsm.js 
  </code></pre>