Jump to content

Recommended Posts

Posted

Hi!! Im learning how to programming cgi scripts using ruby. I uploaded a test file to my cgi-bin folder and it has 755 permissions but I get error 500. This simply test file is correct, because it runs ok in my localhost server.

 

I've included this shebang line: #!/usr/bin/ruby

 

Greetings and thanks for your services, really amaizing we can use a great server like helio for free

Posted
Please post your username, domain name, server name and the code snippet.

 

sorry, I forgot it XD

 

this is the url to the cgi: http://aap.heliohost.org/cgi-bin/test.cgi and this is the code (its really simple):

 

#!/usr/bin/ruby

 

require 'cgi'

 

cgi = CGI.new

puts cgi.header

puts "<html><body>This is a test</body></html>"

 

 

As I said, it runs on my local server....

 

Thank you!!

Guest
This topic is now closed to further replies.
×
×
  • Create New...