Hi Jay,
I copied the file to my server, named id test.cgi
chmodded to 755
and enabled cgi for the site
as long as the file is owned by a normal user (not admin) it works.
Taco
----- Original Message -----
From: "Naotaka HOTTA" <fukuzo (at mark) cybertron.co.jp>
To: <coba-e (at mark) bluequartz.org>
Sent: Monday, December 04, 2006 8:23 AM
Subject: [coba-e:08065] running python CGI script on BQ
> 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
>
>