Hi list, yet another question (I know its getting much in the last days :-).
Suppose I want to host a second legacy website with Apache-PhP on my VPS otherwise running awesome node.js (not my blog, its yet something else). So I check request.headers.host and if its the VHOST for the legacy website, I want to proxy that request to say localhost port 8080 running the Apache. Any code snippets to properly and compactly proxy GET as well POST requests? I've seen node-http-proxy, but its Documentation only explains howto set up a standalone (reverse)proxy rather than integrate it to an existing node.js server occupying the port 80. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
