title: How to install python cgi on apache2?
body: <p>I want to call a Python script using javascript. 
  For this I need to install cgi on my apache server to call python script. (Maybe I wrong, I'm beginner and I'm little lost...)
  But I don't know how to do this... </p>
  
  <p>I have this in my <code>000-default.conf</code> : </p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
  
    DocumentRoot /var/www/html
  
    php_value include_path ".:/var/www/html:/usr/share/php:/usr/share/pear"
    php_value post_max_size 30M
    php_value upload_max_filesize 30M
  
    &lt;Directory /var/www/html/&gt;
        Options All -Indexes
        AllowOverride All
        Allow from all
    &lt;/Directory&gt;
  
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
  </code></pre>
  
  <p>So I don't have cgi, any idea to install this?</p>