Thursday, March 5, 2009

Super Simple Web Server

I needed to serve up some images on my computer from a different port. Mongoose is a super simple webserver. So creating a webserver to some static files is as simple as

mongoose -ports 9090

and you have webserver running on port 9090 serving up the content from whatever directory you're currently in.

Just go to


and there will be your content.

It can also run cgi bins and scripts so using a scripting language and some ajax libraries so you could build yourself some simple local apps in a pinch.

No comments: