寫 AddHandler cgi-script .cgi .py
service httpd restart
chmod 755 /var/www/cgi-bin/test.py
OK~
把程式碼貼到: http://formatmysourcecode.blogspot.tw/ 格式轉完後貼到HTML裡 然後要加的tag這裡有寫: http://google-code-prettify.googlecode.com/svn/trunk/README.html
<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js"></script>