1. Which path to perl?
/usr/bin/perl
Use in scripts -
#!/usr/bin/perl
2. Which path to sendmail?
/usr/sbin/sendmail
3. Which unix path to my home
directory?
/home/virtual/yourdomain.com/var/www/html
/home/virtual/yourdomain.com/var/www/cgi-bin
Be sure what you not specify
www. here!
4. Is you cgi scripting safe?
Can anyone read/write my files?
No. Only you can do anything with
your files.
5. Why my script return me 500 Error?
1. Your script is incorrectly configured
2. Your script not return headers
You can check error log in web control panel.
Services -> Apache server -> Log Files -> error log download
Script installation/fixing available at
mycgiscripts.com
We not will be check your script for free.
6. Me need to install CPAN
module xxx...
You can login via ssh and install
any span modules.
Login via ssh and type
perl -MCPAN -e shell
cpan>install
(name of cpan module)
PS: This is virtual server,
you not need to be root.
PPS: You can do it if your hosting plan include SSH access. If you
not have it - for small fee our
cgi installation service
install it.
7. Me need to install any CGI script...
If you don't know how do it - visit our
cgi scripts service. For
fee we install any script for you.
8.
MySQL cgi interfaces
In php mysql support is built-in
In perl - DBI is configured to support mysql.
Example :
use DBI;
$dbh=DBI->connect("DBI:mysql:$database@localhost", $dbuser,$dbpass); |