disable perl suphp

Sorry, wrong path in the shebang, it should be as following:

Code:
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "<H1>Hello World</H1>\n";
 
Sorry, wrong path in the shebang, it should be as following:

Code:
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "<H1>Hello World</H1>\n";

Again I got the same error with both permissions, also the cgi file permission is 644 and cgi-bin folder is 755
 
the 750 permission for /usr/bin/perl prevent my users from running perl scripts, not 705
It's very important for every DA server ( probably only with php_cgi ) to fix this permission, being able to run Perl scripts is absolutely dangerous,
Now what about python?
 
Back
Top