{"action":"created","issue":{"url":"https://api.github.com/repos/tjanczuk/iisnode/issues/298","labels_url":"https://api.github.com/repos/tjanczuk/iisnode/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/tjanczuk/iisnode/issues/298/comments","events_url":"https://api.github.com/repos/tjanczuk/iisnode/issues/298/events","html_url":"https://github.com/tjanczuk/iisnode/issues/298","id":20053876,"number":298,"title":"iisnode and sails.js","user":{"login":"gisjeremy","id":5004233,"avatar_url":"https://avatars.githubusercontent.com/u/5004233?v=3","gravatar_id":"","url":"https://api.github.com/users/gisjeremy","html_url":"https://github.com/gisjeremy","followers_url":"https://api.github.com/users/gisjeremy/followers","following_url":"https://api.github.com/users/gisjeremy/following{/other_user}","gists_url":"https://api.github.com/users/gisjeremy/gists{/gist_id}","starred_url":"https://api.github.com/users/gisjeremy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gisjeremy/subscriptions","organizations_url":"https://api.github.com/users/gisjeremy/orgs","repos_url":"https://api.github.com/users/gisjeremy/repos","events_url":"https://api.github.com/users/gisjeremy/events{/privacy}","received_events_url":"https://api.github.com/users/gisjeremy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2013-09-25T16:33:41Z","updated_at":"2015-04-07T16:02:52Z","closed_at":null,"body":"Can you point me in the right direction for getting a sails.js project running under iisnode?\r\n\r\nI don't think that there will need to be any url rewriting as the url requests are all handled by the node.js server running sails.js mvc framework, but I may be wrong.\r\n\r\nAs of now I have a web.config that looks like this\r\n\r\n<configuration>\r\n  <system.webServer>\r\n\r\n    <!-- indicates that the hello.js file is a node.js application \r\n    to be handled by the iisnode module -->\r\n\r\n    <handlers>\r\n      <add name=\"iisnode\" path=\"app.js\" verb=\"*\" modules=\"iisnode\" />\r\n    </handlers>\r\n    \r\n  </system.webServer>\r\n</configuration>\r\n\r\nwhen I hit the url <domain>/node/folder/app.js I get a 404 from my sails app which means it's running but not handling the request.  All routes are handled in a routes.js file under a config folder in the main project.\r\n\r\nThanks,\r\n\r\nJeremy"},"comment":{"url":"https://api.github.com/repos/tjanczuk/iisnode/issues/comments/90621726","html_url":"https://github.com/tjanczuk/iisnode/issues/298#issuecomment-90621726","issue_url":"https://api.github.com/repos/tjanczuk/iisnode/issues/298","id":90621726,"user":{"login":"jybleau","id":6425375,"avatar_url":"https://avatars.githubusercontent.com/u/6425375?v=3","gravatar_id":"","url":"https://api.github.com/users/jybleau","html_url":"https://github.com/jybleau","followers_url":"https://api.github.com/users/jybleau/followers","following_url":"https://api.github.com/users/jybleau/following{/other_user}","gists_url":"https://api.github.com/users/jybleau/gists{/gist_id}","starred_url":"https://api.github.com/users/jybleau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jybleau/subscriptions","organizations_url":"https://api.github.com/users/jybleau/orgs","repos_url":"https://api.github.com/users/jybleau/repos","events_url":"https://api.github.com/users/jybleau/events{/privacy}","received_events_url":"https://api.github.com/users/jybleau/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T16:02:52Z","updated_at":"2015-04-07T16:02:52Z","body":"If my next Sails app is deployed using iisnode, I will contact you back if no one has wrote an How-to yet at that moment.\r\nThanks for asking.\r\n "}}