RSparkyC
11-19-2002, 05:04 PM
I am having trouble getting my CGI scripts to work in linux. I try this:
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hello\n";
and I get a 500 Internal Server Error. I am running an apache webserver and have the latest version of perl installed. I know that my path to perl is right, can it be something with permissions? I looked at the cgi and it's rwxr-xr-x (although if i try to chmod it to something like 777 it stays the same...)
Any help in the mater would be great.
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hello\n";
and I get a 500 Internal Server Error. I am running an apache webserver and have the latest version of perl installed. I know that my path to perl is right, can it be something with permissions? I looked at the cgi and it's rwxr-xr-x (although if i try to chmod it to something like 777 it stays the same...)
Any help in the mater would be great.