Jump to content

Python And Ruby Not Working For Me.


Pep

Recommended Posts

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...