"sudo perl printenv.cgi" seems to work, right? Looks like there's a syntax error in your "hello.cgi". Are you sure its content looks like that:
#!/usr/bin/perl
print "Content-type:...
Type: Posts; User: terrorsathan; Keyword(s):
"sudo perl printenv.cgi" seems to work, right? Looks like there's a syntax error in your "hello.cgi". Are you sure its content looks like that:
#!/usr/bin/perl
print "Content-type:...
Anyway, looks like you were trying to run it using a www server? If you did, you wouldn't need to add the line "#!/usr/bin/perl".
Either
sudo ./script.pl
or
sudo perl script.pl
Have you tried running the scripts as root?
Regards
Type "sudo apt-get update" and then "sudo apt-get upgrade" to retrieve updates.
Best regards
-
-
-
-
-
-
-
-
-
-
-
-
-