title: Job for apache2.service failed because the control process exited with error code
body: <p>when i restart my apache2 i got this error's message</p>
  
  <pre><code>Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
  </code></pre>
  
  <p>i insert this code to /etc/apache2/sites-enabled/000-default.conf</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
  &lt;Directory /var/www/test&gt;
          Options +ExecCGI
          DirectoryIndex index.py
  &lt;/Directory&gt;
  AddHandler cgi-script .py
  
  ...
  
  DocumentRoot /var/www/test
  
  ...
  </code></pre>
  
  <p>when i erase the code, my apache can restart normally, but i need this code to run cgi on my ubuntu 16.04</p>
  
  <p>i follow this link <a href="https://www.digitalocean.com/community/tutorials/how-to-set-up-an-apache-mysql-and-python-lamp-server-without-frameworks-on-ubuntu-14-04" rel="nofollow noreferrer">https://www.digitalocean.com/community/tutorials/how-to-set-up-an-apache-mysql-and-python-lamp-server-without-frameworks-on-ubuntu-14-04</a></p>
  
  <p>please help.</p>