title: Simple web server with authentication
body: <p>I want to implement a simple web server (like apache), with static content. The server must offer authentication by username and password or by IP address. </p>
  
  <p>Source code or any usefull tutorial will be really helpful. </p>
  
  <p>Thanks for your answers.</p>