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.

Hasznosnak találta ezt a választ?

 Kinyomtatja ezt a cikket

Ezenkívül olvassa el

I am having a problem with my CGI script. Do you have any advice before contacting support?

Below are solutions to some of the more common CGI script problems. When I activate my CGI...

Why am I getting the "Internal Server Error (500)" message?

Internal Server Error (500) errors are typically something wrong in the syntax of your script....

What scripts banned on your servers ?

The following scripts are banned from use on our servers and may not be uploaded or run. Reasons...

I uploaded my CGI script . How to execute that script ?

Before executing scripts you need to follow below steps to avoid any errors. 1) You need to...

What file permissions do I need for my CGI scripts?

CGI scripts must be set with executable file permissions, or requests for the script from the web...