Setting Up A CGI Script On Your Web Site

Before you set up any scripts you will need some information about your server. You can get this by e-mailing your web hosting provider. It's good to have these on hand before you try to set up a script. You may not need all of the information for each script, but some of the larger scripts demand more information to work. The information you may need is:

Path To Perl This is normally the first line at the top of a ".cgi" or ".pl" (Perl) script. A sample of a Path To Perl is /usr/bin/perl. Most scripts already have the proper Path To Perl included. If the script doesn't work it may be this variable.

Relative Path Which is the relative path to your server, not the HTML path. A sample is: /home/yourlogin/public_html/

HTML Path To Your Server Which is the URL path to your server, for example: http://yourdomain.com

Sendmail Path Which is the relative path to your mail server. A sample is: /usr/sbin/sendmail

SMTP Server Address Which is the path to sendmail on your server. A sample is: smtp.yourdomamin.com (This is rarely used)

Once you have those variables you can set up just about any script available.

Open the scripts that you are instructed to in the "readme" file or "installation" file. These instructions should tell you which scripts need to be set up with these variables. Open these files in a HTML editor, or a text editor. The instructions should also give you the exact location where each variable should be changed or inputed.

Once you have all of the variables set, upload your scripts. They must be uploaded in ASCII, not Binary, if your FTP program makes you choose. Once uploaded your scripts need to have the permissions set in order to work. The instructions should have those permissions for you. Normally a ".cgi" or ".pl" script has it's permissions set to 755.

Your FTP program should allow you to do that somewhere in the program. I use WS_FTP95 LE. To set permissions I simply right click in the right hand window when I am in the server directory where the script is. I click on "FTP Commands" then on "Site". I then type in the field "chmod 755 name of script". If the script is called "abc.cgi" then I will type in "chmod 755 abc.cgi".

It is now time to test the script. The instructions should tell you how to access the script, i.e. "yourdomain.com/abc.cgi". If you get a "Internal Server Error" then you need to go back and check the variables in the scripts and set the permissions, and try uploading the script again.

Read more articles by this author, about this and other subjects, here.

About The Author

Bob Power has been an Internet entrepreneur for longer than he would like to remember. He is currently on a voyage of learning, thanks to his readers, who have asked him to answer questions about topics they want more information on. You can see some of the surprising, and at times exciting results, and variety of topics and paths this has taken him on, or to contact Bob Power please click here.

These articles may be reproduced exactly as shown above. No revisions or changes are permitted.

Alto Pass chicago limos ..
In The News:

Four of the largest school boards in Ontario, Canada have launched lawsuits against TikTok, Meta, and Snapchat, claiming that they have impacted students' thinking and behavior.
Finalists for the inaugural Women’s Prize for Nonfiction, aimed at addressing the gender imbalance in nonfiction publishing, were unveiled on Wednesday.
Tech guru Kurt "CyberGuy" Knutsson breaks down whether the government is watching citizens and what they can do to protect online privacy.
A benchmarking group for artificial intelligence has released new results evaluating the speed of hardware in running AI applications and responding to users.
Sierra Space’s Dream Chaser spaceplane provides a glimpse into the future of space travel. Traveling to space may become a part of everyday life.
The new European Hyperloop Center in the Netherlands aims bring in a new era of transportation. The center will use a steel tube as a proving ground for testing the new vehicle.
Stay up to date on the latest AI technology advancements and learn about the challenges and opportunities AI presents now and for the future.
While it may be incredibly tempting to have a “go with the flow" mindset like the rest of your vacation, your technology definitely should not be compromised while traveling.
Have you ever accidentally deleted an app from your iPhone that you’ve already paid for? Don't worry. We’ve got a trick that will help you get it back without having to buy it again.
Apple's new Journal app has raised privacy concerns among Apple's userbase. Tech expert Kim Komando examines social media rumors and explains what steps to take to protect yourself.
Although Facebook has denied that our phones listen to us, they do have other ways of finding out what we are talking about, listening to and searching for.
With the integration of OpenAI technology, Figure 01 has taken a significant leap forward, showcasing the potential of robots to understand and interact with us on a personal level.
Port Ellen, newly reopened whisky distillery in Scotland, is using SmokeDNAi technology to understand mouth-feel and flavors during the whisky maturation process.
Telly, a smart TV firm, is promising to give out their 4K 55-inch TV for free. What must you give in return? The innovative, yet potentially unsettling, answer might shock you.
The moment a spam invite hits your calendar, it’s like an uninvited guest at a party. So, what do you do? Show it the door.
Identity thieves are now targeting children and are making large sums of money by exploiting children's identities, possibly hurting their financial future.
There's a clever way to change the notification sounds on your Android without having to look at your screen. Kurt "CyberGuy" Knutsson explains.
If your bank accounted has been hacked, there are a number of steps you can take to prevent it from happening again. Kurt "CyberGuy" Knutsson explains.
Stay up to date on the latest AI technology advancements and learn about the challenges and opportunities AI presents now and for the future.
The Wave House, a data center in Heidelberg, Germany, is the the largest 3D-printed building in Europe. Its walls were built in about 140 hours.
Some government agencies around the world are struggling to meet their staffing goals when it comes to hiring artificial intelligence experts.
Google Maps' recent upgrades have introduced real-time ETA and turn-by-turn directions to your phone's lock screen while you are traveling.
Kat Cammack says AI could disrupt the 2024 election. A report says shared AI image tools generate election disinformation in 41% of cases and voting disinformation in 59% of cases.
Deepfakes have become commonplace, and the technology is only getting better, but there are certain elements that might give away the fact that an image is AI-generated.
A stealthy technology known as EM Eye allows eavesdropping on your home security cameras, according to Northeastern University researchers.

Why You Need a Website

You hear a great deal about the Internet these days... Read More

CPanel Fantastico - Features and Benefits

Fantastico is a 3rd-party cPanel add-on and can be purchased... Read More

The Importance of Website Stats to You

One of the best tools you have as a webmaster... Read More

Web Coach Tip: What You Should Know About DIY Web Sites

Recently, a friend asked "What's the deal with those DIY... Read More

Effective Webdesign

D.zigns dzignerwebs The Basics Before starting on... Read More

Content Management ? The New Standard in Web Design

The evolution of web development parallels the model of technology... Read More

How Does Your Website Make Me Feel?

When people think about the Internet, they think about technology.... Read More

35% Revenue Increase? from Your Website!

2 Golden Rules for an Engaging Website35% of visitors fail... Read More

What Your Customers Say About YOUR Site! Part 1

The following is a list of patterns that many visitors... Read More

5 Essential Traits Of A Home Business Website

So you've decided to start an online work at home... Read More

Websites for Writers ? Why You Need One and How to Get Started Today

It may seem like the publishing industry's equivalent of Beanie... Read More

2 Key Ways to Make Your Site a Success

If one more business owner tells me their website sucks... Read More

Web Site Development Process - The Life-cycle Steps

A system development process can follow a number of standard... Read More

Be Creative Before You Purchase Or Create A Website

Before you jump into spending coutnless hours on designing and... Read More

Abandonment - Why Visitors Don?t Turn Into Customers

Every good Internet business understands the value of conversions versus... Read More

Where on Earth is Your Websitee?

You've just finished congratulating your marketing team. After six months... Read More

How to Increase Sales with Automation Improvements

How popular is online shopping? And is there room for... Read More

Five Essential Questions to Answer Before Creating Your First (or second...or third) Website

Right after the thought, "I need a website," people usually... Read More

How Your Own Website Helps Your Small Business Grow

What do you mean, you don't have a website for... Read More

Business Website Building Do?s and Don?ts

First, using a lot of web graphics, flash, banners and... Read More

Seven Daft Things Not To Do To Your Website

1. Splash pagesMost of the time splash pages are uncalled... Read More

Website Imperatives and Solutions

When you take a look at the most visited sites... Read More

Beware the Software Siren

I've heard several prominent web marketers mention in their classes... Read More

Internet Marketing Website Promotion -The 7 Biggest Mistakes I See People Make With Websites!

1. Many people are not getting good or complete advice.... Read More

I Did It: Six Months to a Successful Website

For years now I've been looking to start my own... Read More

Alto Pass cool limo ..