My main application will be in Node.js. However, I'd also like a phpBB forums and a MediaWiki wiki, preferably served on the same Amazon EC2 server.
I am aware of DNode which seems to be a way for PHP and Node.js to communicate with each other. However, what I want to do is just handle certain directories to PHP - eg:
/ = PHP
/chat/ = Node.js
/forums/ = PHP
/wiki/ = PHP