
It is necessary to use .cgi like extension of the files
Transfiéralo by FTP in way text (ASCII) or will not work.
From SSH (Link), chmod 755 writes fichero.cgi. This changes the permissions so that it can
to execute script.
If it wants that script writes data in a directory, it is necessary to enter
chmod 777 directory so that the directory has permission of global writing. This is
because script is not being executed like a user, but like “nobody� (nobody).
The directory cgi-bin is our directory shared cgi. You will have to put his scripts
in its directory cgibin (without script)
Perl 5 is located in /usr/local/bin/perl. Sendmail in /usr/lib/sendmail. If he is possible him
we request to use “tainted� option of Perl - that is to say: #! /usr/local/bin/perl - T. This gives much
more security to our system.
It is possible to put index.cgi like main page
There is complete documentation on Perl in:
http://www.perl.com