Internal Server Error - Perl Script / Cgi???

biz4u

Registered
Sep 27, 2006
2
0
151
Hi,

I have a perl cgi script that is for uploading file & emailing automatically.

When i try to execute it ...i get the following error message.

Internal Server Error
Unable to open document (./scgi-bin/uploademail.cgi) at cpsrvd.pl line 1065
main::dodoc_cpaneld() called at cpsrvd.pl line 527
main::dodoc() called at cpsrvd.pl line 438



--------------------------------------------------------------------------------

cpsrvd/10.6.1 Server at www.mycompany.com

Please let me know whats the problem.

Thanks.
biz4u
 

angelina_holy

Well-Known Member
Aug 6, 2006
113
0
166
check the ownership and permission on the file . folder must be 755 and file must be 644 . Also check the path for the perl file is set correctly

/usr/local/bin/perl