CGI script is in plain text
ianb at colorstudy.com
Fri Jul 4 08:27:44 CEST 2003
On Fri, 2003-07-04 at 00:39, BMA TRADING wrote:
> > Try renaming the file to .cgi -- as long as the #! line is right, it
> > doesn't matter the extension. Also, you may have to put the script in
> > the cgi-bin directory.
> > Ian
> Dear Ian,
> Thank you for your reply.
> I tried to rename it but it does NOT work.
> In the same directory I can successfully run Perl script( .pl extension) but no Python
> Any idea?
Well, be sure the file is set as executable ("chmod +x filename"). If
all else fails, try a .pl extension :) Who knows... might just work.
More information about the Python-list