Hacker News new | ask | show | jobs
by stevekemp 4881 days ago
I have a number of webservesr running on my host, each listening on 127.0.0.1 - this means I get security, as each webserver is running under its own UID.

Rather than using apache + mod_proxy to route incoming requests I wrote a HTTP reverse-proxy using node:

http://www.steve.org.uk/Software/node-reverse-proxy/

Otherwise I wrote a deamon which listens for UDP messages and inserts them into a redis set. This allows me to send messages like "User logged in", "User logged out", and display them in real-time for a dashboard. The following article was written to demonstrate the concept:

http://www.debian-administration.org/article/682/Building_a_....