dyskiver Posted April 6, 2012 Posted April 6, 2012 Hi, I'm new on the site and trying to kickstart my first Perl script.It's really basic, just to see that things are working, but I can't get it to work - I keep getting HTML error 500 "Internal Server Error" for about 4 days already. Here's the script (located at public_html/cgi-bin/test.pl): #!/usr/bin/perl print "Hello from test.pl"; Can't get must simpler than this, but it doesn't work..I went over forum messages and tried another version, which also doesn't work: #!/usr/bin/perl print "content-type: text/html\n\n"; print "<html><body>Hello from test.pl</body></html>"; Permissions are set as follows:public_html: 750 (it was setup like this - I didn't change it)public_html/cgi-bin: 755public_html/cgi-bin/test.pl: 755Am I doing something wrong? EDIT:The way I'm trying to access the script from a browser is: http://dyskiver.heliohost.org/cgi-bin/test.pl
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now