PERL DOES NOT WORK
Posted: Sun Dec 20, 2015 2:09 pm
Hello,
I have tried to place following simple .pl script in web/domain/cgi-bin folder, and given its 755 permission, but when i try to load it into browser, it asks to download the file instead of execution.
Please help. Thanks
I have tried to place following simple .pl script in web/domain/cgi-bin folder, and given its 755 permission, but when i try to load it into browser, it asks to download the file instead of execution.
Code: Select all
#!/usr/bin/perl
print "content-type: text/html \n\n";