|
|
|
Perl CGI - Testing if Perl CGI works
If you are having issues with Perl CGI files and you suspect that the server is to blame, you can try the following test.
1) Create a regular text file and call it test.cgi.
2) In the text file, enter the following lines:
#!/usr/local/bin/perl
print "Content-type: text/html\n\n";
print "Hello world!\n";
3) Save the file and upload it to your public_html or wwwRoot folder
4) Unix/Linux users: Make sure the permissions are set to 755.
5) Go to http://yourdomainname.com/test.cgi (do not forget to replace yourdomainname.com with your domain name)
When you go to the URL in step 5, you should see the words "Hello World!".
Note: Step 5 will work as long as the domain name is resolving and the test.cgi is in the public_html or wwwRoot folder with appropriate permissions.
|
|
|
|
|
We provide an easy, effective and affordable solution for businesses of all sizes to establish and build a successful brand on the Internet. You can get your business online for as little as $249.00.
|
|
|
|
|
|
TWD Hosting INC, 360 Foe Creek Dr., Roswell, GA 30076. Phone: 1 404 437 8499 Fax: 1 208 545 4247
|
|
|