Internal Server Error

Status
Not open for further replies.

chid01

New Member
Messages
1
Reaction score
0
Points
0
Internal Server Error

I have just uploaded a perl script. but it will not execute

line 1. #!/usr/bin/perl

It is chmodded to 777. allowing execution from all..

When I try and run it it gives this error.

I know that the script works, and it is merely perl execution that is messed up, as it works perfectly on my home server.

thanks. :happysad:
 

tittat

Active Member
Messages
2,478
Reaction score
1
Points
38
Try CHMODing directories to 755 and the perl script to 644.
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
I know that the script works, and it is merely perl execution that is messed up, as it works perfectly on my home server.

Are you sure? For example, how do you know your script doesn't rely on a package that isn't installed? Error messages will be printed before any header, resulting in a malformed header section and a 500 error. Check your error logs.
 
Last edited:
Status
Not open for further replies.
Top