Please correct the following Python CGi program -
please correct following cgi program
#!usr/bin/python print "content-type : text/html\n\n" print "<html><body><span>hello world</span></body></html>" what wrong above code?
i getting 500 internal server error , working through command prompt.
and please tell me why need keep 2 "\n" in statement
print "content-type : text/html\n\n"
i think first line should be
#!/usr/bin/python and if doesn't work try
#!/usr/bin/env python you have missed / before usr
Comments
Post a Comment