[ LOGIN | REGISTER] Search  in

www

HOMEUSEFUL INFO

PRICES  FAQ  PARTNERS   CLIENTS    CONTACT US   HELP     

web hosting

web designing classifieds net search vietnam business directory

===============

 

 

CGI & Perl
  1. What are CGI scripts?
    CGI (Common Gateway Interface) is a process used by the server to pass information between the user and an application on the server. With CGI access, you can install Perl scripts on your website for such things as feedback forms, guestbooks, counters and so on.

  2. What info do I need to run a CGI script?
    CGI scripts can be run from anywhere in your public directory so a cgi-bin is not necessary (make sure the script has a .cgi or .pl extension).

    absolute path = /home/sites/www.yourdomain.com/web

    path to Perl = /usr/bin/perl

    path to sendmail = /usr/sbin/sendmail

    path to the date program = /bin/date

  3. Do you know where can I find some free CGI scripts?
    Yes, check out our Script Resources section.

  4. My Perl CGI script is not working, can you help me with it?
    In general our support does not cover CGI script debugging. We make sure that it is working properly on the server and give you the correct paths to Perl, Sendmail, etc., but we really do not have the resources to debug any CGI scripts for our customers. The same is true for the troubleshooting of html, javascript and so on. What I can suggest is to re-check your permissions, paths and especially the instructions that came with the script.

    Here are a few things to try when you are troubleshooting a CGI script:

    1. First of all, thoroughly read through the instructions that came with the script and also check the website where the script was downloaded for troubleshooting info.

    2. Check to see if the script was uploaded to the server in the proper format (usually ASCII not binary).

    3. Verify that all the paths are correct (perl, sendmail, etc.). Refer to the CGI info that was included with your setup email that was sent to you when your site went live on our server.

    4. Check to see if all the file permissions are set correctly. Permissions can be set at the shell prompt using the "chmod" command or using an FTP program that allows permissions to be set on transfer.

    Here are a few good online articles on installing perl CGI scripts:

    How to install a basic Perl script on a Web server (ServerWatch)
    How To Install A Script
    (About.com)
    CGI Scripts for Fun and Profit
    (webmonkey)
    The Common Gateway Interface
    (NSCA)

Search For
Vietnamese WebSites
Customer Service
More questions about Viet Internet services?
  Email Us    FAQ
  Chat with Us   Contact
  Phone Us   Support
  Mail Us   Useful Information
Web Consultation
Need A Web Programmer?
Viet Internet provides programming consultation for all your programming needs. Contact us for more information.
More
  ORDER:   Web Hosting |  Web Designing |  Net Search    SELL:   Classifieds    INFO:   Clients |  Comments & Feedback
Home |  About Us |  Term Of Service
Copyright 1998-2017 Viet Internet. All rights reserved.