title: Execute a .cgi file in Ubuntu
body: <p>I am running Apache/PHP under Ubuntu  </p>
  
  <p>When I run the .cgi file, by going at <code>http://localhost/mycgi.cgi</code>, the browser will display the code instead of running it. </p>
  
  <p>How do I make the browser execute the CGI file instead of showing its contents?</p>