Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Basic question in Python

 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
I have written a program in Python.

Coe is as follows:

code:

#!/usr/bin/python

print "Content-type : text/plain\ns"

print "Hello World"



I get an error saying :

quote: Error response

Error code 403.

Message: CGI script is not executable ('/cgi-bin/hello.cgi').

Error code explanation: 403 = Request forbidden -- authorization will not help.



I am working on windows.

What can be problem here?

Thanks in advance.
Dinakar Kasturi
 
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Dinakar, Don't cross post.
[ September 30, 2006: Message edited by: Scott Johnson ]
    Bookmark Topic Watch Topic
  • New Topic