LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > CGI/Perl/Python > execve - CGI Execution

Reply
 
Thread Tools Display Modes
  #1  
Old 08-08-2003, 04:18 AM
George George is offline
New Member
 
Join Date: Aug 2003
Posts: 6
Default execve - CGI Execution

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).
Reply With Quote
  #2  
Old 08-08-2003, 07:29 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Default check your perl script

George,

Please try your perl script from command line and make sure it works.
I use the following test script, it works:
Code:
#!/usr/bin/perl
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,
Mistwang
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
conditional execution of a script on mod times djkoopman Feedback/Feature Requests 3 05-06-2005 02:29 PM
How to deny php execution in a subdir? bogus Install/Configuration 2 03-25-2004 12:01 PM


All times are GMT -7. The time now is 06:05 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.