Hosting
What recommendations you give me for the programming with cgi?
You will be able to program your own applications cgi in Perl in all our products of Hosting.
We give the following recommendations you:
You must include at the beginning of file cgi the route of interpreter Perl: #! /usr/bin/perl
In order to avoid problems with the compatibility of the jump of line between Linux and other Operating systems you must raise your files in way ASCII. This option usually is in the majority of the programs FTP client.
It locates all developments cgi in directory CGI-BIN of your disc space.
In order to call them from your code you will use the route
http://www.tudominio.com/cgi-bin/script.cgi
where tudominio.com will be the name of your domain and script.cgi will be the name of your script.You must give permissions him of execution (755) to archives cgi with your program FTP. This option is in the properties of the archives of the majority of the programs FTP clients.
It remembers that the servant where metheglins your pages in Think Solutions is Linux and distinguishes capital of small letters. So, for example, script.cgi will not be the same file that Script.CgI.
To return to FAQs