sudo nano /etc/apache2/sites-enabled/000-default.conf<br />
<Directory /home/cabox/workspace><br />
Addhandler cgi-script .py<br />
Options ExecCGI<br />
</Directory><br />
sudo a2enmod cgi  코드only에서<br />
sudo service apache2 restart 코드only에서<br />
//You can run man a2enmod to see what a2enmod does.<br />
ls -al<br />
sudo tail -f  /var/log/apache2/error.log<br />
(참고)https://www.kowanas.com/tech/2020/08/03/python-cgi/ (cgi파이슨)<br />
