Jump to content

dagger

Members
  • Posts

    5
  • Joined

  • Last visited

dagger's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Ohh, thank you! Now run the scripts properly - thank you! What I do not understand I've tried everything and Perl scripts has always spit out 500 errors. But now is running and the recommendation of Yashrs works now, but previously was not, no matter what I did. But no matter The main thing is that now runs everything regards
  2. Thanks! Aha, I also tried 775 to - the Result is as i was up wrote With the best regards
  3. Thanks, but to no avail. As I mentioned, Ruby script worked before. But for some reason stopped working right now. Perl did not work from the start and the line use CGI::Carp qw( fatalsToBrowser ); in the script did not change anything. I get this error here and I can not understand what is wrong. For example, okay, Perl did not work from the very beginning. But Ruby was working, why has stopped working now? With the best regards
  4. Hi everyone! i have a Problem with a Perl/Ruby CGI Script - 500 Internal Server Error. user: dagger address: http://dagger.heliohost.org Server: Johnny From the very beginning Perl was not worked: http://dagger.helioh...cgi-bin/test.pl #!/usr/bin/perl BEGIN { my $b__dir = (-d '/home/dagger/perl'?'/home/dagger/perl':(/>/> getpwuid($>) )[7].'/perl'); unshift @INC,$b__dir.'5/lib/perl5',$b__dir.'5/lib/perl5/x86_64-linux',map { $b__dir . $_ } @INC; } print "Content-type: text/html\n\n"; print <<HTML; <html> <head> <title>A Simple Perl CGI</title> </head> <body> <h1>A Simple Perl CGI</h1> <p>$theTime</p> </body> HTML Ruby was for beginning worked, but now the same problem - 500 Internal Server Error http://dagger.helioh...gi-bin/test.cgi #!/usr/local/bin/ruby -w require 'cgi' cgi = CGI.new puts cgi.header puts "<html><body>This is a test</body></html>" http://dagger.helioh...in/test_ruby.rb #!/usr/bin/ruby puts "Content-type: text/html" puts puts "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" puts "<!DOCTYPE html>" puts "<html>" puts "<head>" puts "<title>Ruby CGI test</title>" puts "</head>" puts "<body>" puts "<p>Hello, world!</p>" puts "<br> puts "Ruby is amazing! :)/>/>" puts "</body>" puts "</html>" My question is, what happened with Perl and Ruby? Python and Free Pascal CGI working fine Thanks in advance! P.S. Sorry, for my pure English
×
×
  • Create New...