title: How to configure lighttpd with CGI and JSON?
body: <p>I want to use lighttpd server with mod_cgi module.</p>
  
  <ol>
  <li>How can I write a CGI script to parse POST JSON requests and send out JSON response back for GET requests?</li>
  <li>What needs to be configured in lighthttpd server so that I can have a restful service? I don't see JSON mime type in the conf file. </li>
  <li>Is there a JSON parser or module that I can include Lighttpd web server?</li>
  </ol>
  
  <p>Can you give me any directions?</p>