Jump to content

Abonae

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Abonae

  1. Thanks for fixing this. I think the code was ok - helloworld.cgi works just fine now and I did not change it.

     

    Can I just check something? - heliohost does not allow telnet access - is that correct? I'd like to be able to test my scripts on the server as well as via the web.

     

    Thanks

     

    Abo

  2. Hi

     

    my file is in abonae.heliohost.org cgi-bin/helloworld.cgi

     

    The permissions are 755 and the content of the file is:

    #!/usr/bin/perl -w

    use CGI qw(:standard);

    print header;

     

    print <<EOF;

    <html>

    <head>

    <title>hello, world</title>

    </head>

    <body>

    <h1>hello world</h1>

    </body>

    </html>

    EOF

     

    (I copied this from a post in this forum)

    I get a 500 error every time point my browser at the above file. I've looked at the errorlog and I see:

     

    [sun Jul 03 02:41:22 2011] [error] [client 78.149.9.14] (12)Cannot allocate memory: couldn't spawn child process: /home/abonae/public_html/cgi-bin/helloworld.cgi

     

     

    What do I need to do?

     

    Thanks

    Abo

×
×
  • Create New...