Jump to content

Recommended Posts

Posted

Hey everybody!

 

Where can I find the log files for a (Ruby) CGI script?

I can only see a 500 (because I have no 500.html in my public_html directory) error message in the logs in cpanel's "Error log".

 

And I could only find this related thread <http://www.helionet.org/index/index.php?showtopic=6787&pid=52577&mode=threaded&start=> which didn't help that much.. :mellow:

I just hope that I got my line-breaks right.. But even if that's the problem: How should I know without log files?

 

Thanks in advance!

 

 

 

 

Posted

Ok, I think I got it:

The script was not executed at all because I had it called sth.rb and .rb is not picked up by default (should have called it .cgi or add at .htaccess-file that registers .rb with the cgi-handler). So there were no log entries.. Ouch :unsure:

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...