Jump to content

dmfernan

Members
  • Posts

    3
  • Joined

  • Last visited

  • Days Won

    1

dmfernan last won the day on March 19 2015

dmfernan had the most liked content!

dmfernan's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. You're great yashrs. I've modified the Python script to add "\n\n" at the end of the content-type line and ¡it works! Very thanx.
  2. I got a "500 Internal Server Error" message when I try to call a simple Python script on a Jonhy's Heliohost account. My user is "dmfernan". The address for the script is http://fe.heliohost.org/cgi-bin/holamundo.py The content of the script is: #!/usr/bin/python print "Content-type: text/html" print "" print "<html>" print "<body>" print "<p> Hola mundo desde Python</p>" print "</body>" print "</html>" The permissions for "holamundo.py" is set to 755. I don't know where's the source of the error. The script is so simple. I think that the error is the shebang line, but I read in this forum that the "/usr/bin/python" is the correct. Thanx in advance. Darío.
×
×
  • Create New...