title: Apache2 not running a python script
body: <p>I am very new to webservers and I am learning everything from scratch.</p>
  
  <p>My webpage is simple:</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html&gt;
  &lt;body style="background-color:black;color:white"&gt;
  &lt;p&gt; My website test site&lt;/p&gt;
  &lt;br&gt;
  &lt;form action="hello.py"&gt;
  First Name:
  &lt;input type="text" name="firstname"&gt;
  &lt;br&gt;
  Last Name:
  &lt;input type="text" name="firstname"&gt;
  &lt;input type="submit" name="submitbutton"&gt;
  &lt;br&gt;
  &lt;/form&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>My remote server works, I have gone into my apache2.conf file and tried to change the configuration file so that apache2 will run python scripts:</p>
  
  <pre><code>&lt;Directory /var/www/html/&gt;
      AllowOverride None
      Order allow,deny
      Allow from all
      Options +ExecCGI
      AddHandler cgi-script .py
  &lt;/Directory&gt;
  </code></pre>
  
  <p>The script is found and then instead of running the script, the script is displayed as a text file in the browser. I am trying to run this program remotely from a webpage. I understand right now the output will go to my console.</p>