Jump to content

Recommended Posts

Posted

I have written a simple hello world program in perl, I have placed it in the cgi-bin and set a 0777 permission, however i am getting error 500 when I run it, I am new to perl but I think I have everthing correct.

here is the code:

 

#!/usr/bin/perl

print "Content-Type: text/html \n\n";

print "Hello World";

Posted

Thanks for the response, it seems that the permission has to be 755 and not 777. I finally got it to work but the permission has to be 755

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...