Addictive Software

var me = Random.shuffle(List("Developer", "Cook", "Geek", "Musiclover", "Engineer"))

Tag: nodejs

  1. Using apache webserver as a frontend for a node.js website

    As I moved my blog from wordpress to node.js I ofcourse wanted to run it on port 80, as I already have apache running on my server using that as a frontend was obvious. To get it running I needed to enable the proxy and the http handler for…

    dev, tip, nodejs, proxy, apache

  2. Small Proxy server in node.js

    If at some point you need a very simple proxy server save the next 19 lines to a file (f.i. proxy.js) var url = require('url'); var http = require('http'); http.createServer().listen(9000).on('request', function(request, response) { try { var options = url.parse(request.url); options.headers = request.…

    dev, tip, nodejs, proxy