1-888-524-7148

Menu

Knowledge Base - Understanding CGI Basics

Understanding CGI Basics

Understanding the Basic of CGI

Q. What Is CGI and how is it going to help me?
A. CGI is translated as Common Gateway Interface. It's used to provide interactivity and turn static pages into dynamic ones. What does this mean? Let's take a guestbook, for example. Most of them are powered by CGI. They allow your visitors to leave comments on your site. This makes it interactive. But guestbooks are only one example. You also have bulletin boards, form processing, counters, and much more.

Q. How am I supposed to install a script?
A. 95% of scripts have complete instructions and a special ReadMe file with everything you need to know about installing that script. It is recommended that you read the instructions a few times before starting to install the script. This will help you make less mistakes.

Q. What does "chmod" mean?
A. To chmod a file means to set a certain permission. Few of the most common chmod commands are 775 and 777. To chmod a certain file or a category using FTP client find something like "Change File Attributes" and enter the chmod command script instructions tell you. If you are using Telnet, here are a few commands that you should use in order to chmod a file or a directory:

u = the file's user (or owner)
r = read access
g = the file's group
x = execute access
o = others
w = write access
a = the user, the group, and others.

Q. What are the most common errors and how do I deal with them?
A. One of the most common errors is "500 Internal Error". The chances are that you will experience it many times. The worst thing about it is that it doesn't actually tell you what's wrong with the script. It only tells you that something isn't right. There are several possibilities that make up 99% of this error. They are:

* Incorrect path to PERL. See the next question for more information
* Syntax error. Check and see if you didn't accidentally deleted a command or a word that the instructions didn't tell you to.
* Incorrect CHMOD command. Make sure that you chmod the file exactly as the instructions say. Most of the times it will be either 755 or 777 (not always!). You can also get an "Access Denied" error, if you didn't chmod the file or a directory correctly.

Basically, 500 Internal Error and Access Denied are 99% of errors you'll experience. And 99% of the time, the cause of the error will be one of the above.

Q. What is the path to PERL (interpreter)?
A. The PERL path is the very first line in every .cgi or .pl file. Usually it looks something like this: #!/usr/bin/perl. Make sure that the path is correct, otherwise you'll get an error. If you don't have Telnet access, simply email Tech support.

Contact e-mails

Sales
Department

sales@giganetwebhosting.com

 

Support Department

support@giganetwebhosting.com

 

Billing Department

billing@giganetwebhosting.com

(For customers with live account only)

 

*Anytime money back.

anytime money back guarantee on all hosting plans. Nothing to worry about.We are in Web Hosting business since 1997 and we know your needs, we do our best for customer satisfaction. Giganetwebhosting.com offers a 'No Questions Asked' Anytime money back guarantee with all unlimited web hosting plans. If you decide to cancel your account at anytime Giganet web hosting will refund you for the remainder of your term, excluding domain registration fees, for which we incur a cost. It's like a warranty that never expires! Your satisfaction is our top priority, and we're confident that you'll be pleased with our services. Best web hosting risk free !

Server Security

Best server maintenance and security.Our servers have special security applications that ensure a secure and reliable hosting environment. Our 24/7 network monitoring ensures that, if an issue does arise, we address it immediately. We provide many additional services and modifications to the default Operating System and control panel installation which greatly enhances the security, reliability, and compatibility of our servers and softwareand offer best web hosting solutions available to our clients. Secure and safe unlimited web hosting, Vps hosting and dedicated servers hosting.

Low Price Lifetime Guarantee

Price guarantee for account life

We offer you a price guarantee for any future account renewals. We guarantee that your renewal price will be the same or less for all unlimited web hosting plans. Don't fall for the high discount bargains which are offered by most hosting providers. Read the fine print and note that the initial discounted price is usually 50-90% lower than the standard price at which you will be FORCED to renew! Cheap web hosting and best web hosting combined !
 The only place for affordable hosting with top hosting services.