I am learning cgi python programming and I did put my test.py file in the cgi folder in free hosting service with following code.
But it gives,Code:#!/usr/bin/python print "Content-type:text/html\r\n\r\n" print '<html>' print '<head>' print '<title>Hello Word - First CGI Program</title>' print '</head>' print '<body>' print '<h2>Hello Word! This is my first CGI program</h2>' print '</body>' print '</html>'
my link is http://www.ztron.x10.mx/cgi-bin/test.pyCode:Forbidden You don't have permission to access /cgi-bin/test.py on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


LinkBack URL
About LinkBacks
Reply With Quote

