CGI scriptsono 123-reg

Discussion in 'Programming' started by Dan Potter, May 27, 2006.

  1. #1
    Hi,

    I'm using 123-reg to host my site and am trying to run some simple perl scripts but it isn't working!

    Here's the script below:

    #!/usr/bin/perl

    #access standard modules

    use CGI qw:)standard);
    use CGI::Carp qw(warningsToBrowser fatalsToBrowser);

    print "Content-type: text/html\n\n";
    print "Hello, world! It's me!!!\n";

    I keep getting an internal server error when I run this scrpit. I have made sure I uploaded it in ASCII and have changed permissions to 755.

    Is there anybody currently running CGI using 123-reg as a host that can help me out?

    Thanks,

    Daniel
     
    Dan Potter, May 27, 2006 IP