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:

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