Hi Blues
I am having difficulty running python CGI script on BlueQuartz.
I am keep getting "500-internal-server-error.html" message when I run
script blow.
Dose anyone have idea where should I modify in httpd.conf to let the
script show HTML?
-----python CGI testing script
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import cgi
import cgitb; cgitb.enable()
html = '''Content-Type: text/html
<html>
<head>
<title>test.cgi</title>
</head>
<body>
<h1>test of print test on web</h1>
<a href="http://www.google.com">return</a>
</body>
</html>
'''
print html
--
Jay HOTTA