KGIII
06-08-2006, 09:52 AM
Server blah blah... Pretty standard LAMP stack. CHMODed every possible combination. I'm pretty sure I missed something.
Why won't this run?
#!/usr/bin/perl
print "Content-type: text/plain\n\n";
for (keys %ENV) {
print "$_ => $ENV{$_}\n";
}
Path is correct but I get errors... I get odd errors too, it tells me that the directory's writable by other. I fix it. It tells me that I don't have permission.
Did I miss something in between now and the last time (years ago) I was into Perl at any great level? I've tried writing it with a full set of variables. I'd tried it as small as I can make it - like the above. I think I've tried it with every possible set of permissions and ever rational path.
It's just Apache 1.3.36 and Perl 5.8.7... From inside the control panel I can pull the Perl modules easily enough and path to sendmail and Perl is right there but I was hoping to show it in the FAQs for pre-sales questions.
Thoughts? I'm missing something obvious aren't I?
KGIII
Why won't this run?
#!/usr/bin/perl
print "Content-type: text/plain\n\n";
for (keys %ENV) {
print "$_ => $ENV{$_}\n";
}
Path is correct but I get errors... I get odd errors too, it tells me that the directory's writable by other. I fix it. It tells me that I don't have permission.
Did I miss something in between now and the last time (years ago) I was into Perl at any great level? I've tried writing it with a full set of variables. I'd tried it as small as I can make it - like the above. I think I've tried it with every possible set of permissions and ever rational path.
It's just Apache 1.3.36 and Perl 5.8.7... From inside the control panel I can pull the Perl modules easily enough and path to sendmail and Perl is right there but I was hoping to show it in the FAQs for pre-sales questions.
Thoughts? I'm missing something obvious aren't I?
KGIII
