Jump to content

Recommended Posts

Posted

I have a simple test ruby file under my public cgi-bin folder, with 0755 permission and this code:

 

 

#!/usr/bin/env ruby
# HTTP response headers, including double newline
print "Content-type: text/plain\n\n"
# Contents
print "Hello, world\n"

 

but I get the same error message as with python:

 

Internal Server Error

 

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@leolanchas.com.ar and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

explained in my other post:

 

http://www.helionet.org/index/topic/13547-django-not-working-500-internal-service-error/page__fromsearch__1

 

Look, i really want to use ruby and python to test my apps but it's getting really hard. There is no clear guide, or example on how to use django and ruby.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...