Mongoose web server
It’s very easy to start a Python web server on localhost.
If you want something more serious but still lightweight, check out the Mongoose web server.
Fetch and compile:
wget https://mongoose.googlecode.com/files/mongoose-3.8.tgz tar xvzf mongoose-3.8.tgz cd mongoose make linux
The user manual is here.