5

What is the best approach to running Node.js along with Apache?

view full story
linux-howto

http://serverfault.com – I'm replacing PHP with Node.js and am curious what the prescribed (or best practice) solution is for doing the webserving. I'm reluctant to have Node.js act as my primary webserver and would like to keep Apache around to server files, and just have Node.js do all the business logic and communication with the the DB. How does one set up such a relationship? I'm unable to find examples of this that don't have Node.js as a proxy that just redirects everything to Apache (which may indeed be the best way to do this... I don't know... that's the crux of my question). TIA (HowTos)