execve - CGI Execution

Discussion in 'CGI/Perl/Python' started by George, Aug 8, 2003.

  1. George

    George Member

    When trying to execute CGI scripts with a .pl extension, the following error is received in the logs, accompanied with a 500 error in the browser.

    ERROR [xx.xxx.xx.xxx:xxxx-0:cgi] execve(): No such file or directory

    I've added cgi/pl as script handlers in the admin interface, and also made sure the permissions are OK on the file. The file is set to 755 and owner nobody (same as LSWS user).
  2. mistwang

    mistwang LiteSpeed Staff

    check your perl script


    Please try your perl script from command line and make sure it works.
    I use the following test script, it works:
    print STDOUT "Content-type: text/plain\n\n";
    print STDOUT "Hello World from Perl Script\n";
    Make sure your script follows the CGI specs.

    Best regards,

Share This Page