CGI-BIN and Perl scripts not working on my domain ?

There are lot of reasons for not working of cgi and perl scripts.

You can do small test on your cgi-bin.Please see below steps. 

1) Create test.pl file in notepad or any text editor with following code

 


#!/usr/bin/perl
print "Content-Type: text/html\n\n";
print "Cgi-bin and perl test ";

2) upload script to cgi-bin folder in ASCII mode

3) Set test.pl permissions to 755

4) Type http://www.yourdomain.com/cgi-bin/test.pl  to test script.

If you can see message "Cgi-bin and perl test" then your cgi-bin and perl scripts are working fine on your domain.

You need to check your scripts, permissions and upload mode. All these are very important to run successful scripts.

If you are still getting errors open helpdesk ticket with specific problem along with your logins to troubleshoot.

Cette réponse était-elle pertinente?

 Imprimer cet article

Consultez aussi

Which script I need to use for my Formail application ?

You can download bnbform.cgi from http://www.bignosebird.com/carchive/bnbform.shtml Bnbform.cgi...

How to setup bnbform on website ?

Here are the steps you need to following to setup bnbform on your site: 1. Download this zip...

What is SSI? and how do I use it ?

Server Side Includes (SSI)When using a UNIX/LINUX system it is sometimes necessary to enable...

Do my CGI scripts need to be in my "cgi-bin" folder?

All .cgi and .pl can only be executed in cgi-bin at this time.

Can you explain unix/linux file permissions?

Owner = the files users (you) Group = the files group Others = others Permissions Definitions: r...