File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programming Diversions and the fly likes Basic question in Python Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Other » Programming Diversions
Reply locked New topic
Author

Basic question in Python

Ram Kas
Ranch Hand

Joined: Jul 26, 2006
Posts: 81
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
Scott Johnson
Ranch Hand

Joined: Aug 24, 2005
Posts: 518
Dinakar, Don't cross post.
[ September 30, 2006: Message edited by: Scott Johnson ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Basic question in Python
 
Similar Threads
Basic Question
The fizz buzz coding challenge
Help with setting up Tomcat 6.018 for Python scripts
Problem in reading Http Response Content
How do I generate a org.apache.commons.httpclient.ProtocolException ?