In server.py you made a mistake in the declaration of the cgi directory
it should be
handler.cgi_directories = ["/"]
Le 02/08/2012 20:20, Smaran Harihar a écrit :
Hi,
I am trying to create a simple CGI Script and following this tutorials
<http://pointlessprogramming.wordpress.com/2011/02/13/python-cgi-tutorial-1/>
but unfortunately my output is only printing the cgi file as it is on
the browser.
I have already provided the py scripts with the executable functions.
This is my server.py <http://dpaste.de/iEPTk/> and this is
mytest_cgi.py <http://dpaste.de/7SsAj/>
--
Thanks & Regards
Smaran Harihar
This body part will be downloaded on demand.
--
http://mail.python.org/mailman/listinfo/python-list