Hi, could someone tell me how to enable the cgi-bin folder to use perl scripts?
If I go to edit the user he has CGI-bin enabled. Now, when he goes to http://domain.com/cgi-bin/script.pl he can see the perl code instead of its execution result:
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "<html><header><title>Hola Mundo</title></header><body>";
print "<font face=verdana size=2>Hola Mundo<br><br>";
print "</body></html>";
Is there anything else that I should configure/check in order to make this work?
Thanks in advance!
If I go to edit the user he has CGI-bin enabled. Now, when he goes to http://domain.com/cgi-bin/script.pl he can see the perl code instead of its execution result:
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "<html><header><title>Hola Mundo</title></header><body>";
print "<font face=verdana size=2>Hola Mundo<br><br>";
print "</body></html>";
Is there anything else that I should configure/check in order to make this work?
Thanks in advance!