CentOS 7 - apache + python 연동 * 설정 /etc/httpd/conf.d/python.conf Options +ExecCGI AddHandler cgi-script .py * 테스트 vi /usr/local/apache/htdocs/test.py #!/usr/bin/env python print "Content-type: text/html\n" print "Hello World!" #chmod 755 /usr/local/apache/htdocs/test.py 카테고리 없음 2021.06.16