OVH Community, your new community space.

Hello World Python Example for 60gp


fozl
18-12-2008, 14:35
Have you checked the files permissions, chmod +x?

undisclosedp
17-12-2008, 09:33
@derchris http://www.ovh.co.uk/individual/products/60gp.xml 60gp, cheap personal shared hosting with OVH. Which does seem to have python support.

@thyme Have you tried checking the logs files? (do you even have access to them). They may give you a more verbose error.

derchris
17-12-2008, 04:22
What is a "60gp" account ?

thyme
17-12-2008, 02:11
Hello
I have a 60gp account www.seamless3d.com

I would like to develop a simple chat server using python but I can not get started because I can not get a simple hello world example to work.

Here is the hello world code for my example:

Code:
#!/usr/bin/python
print "Content-Type: text/html\n\n"
print "Hello World"
I have put the file in my www.seamless3d.com/cgi-bin folder.

When I open this file with Internet Explorer using this url:

http://www.seamless3d.com/cgi-bin/hello.py

I get this message:

500 Internal Server Error

I can not find any Python help specifically for ovh

So please what do I need to do just to get python working on my site?