Web Development Information |
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.
MORE RESOURCES: Unable to open RSS Feed $XMLfilename with error HTTP ERROR: 404, exiting |
RELATED ARTICLES
9 Simple Steps to Create a Background Tiled Image Branded with Your Name You have seen those web pages where they have the name of the Name Web repeated over over over in square tiles as the background. Now by following these 9 Simple steps you too can create a web page Branded with your Name, or Company Name. 7 Reasons YOU Need a Website 1) A marketing necessityI still hear it said from time to time that you really do not need a website if you are a private practice professional. I disagree. Do You Really Need A Website To Succeed Rosalind wants to share her inspirational poetry with a wider community. Alas, poor Rosalind lives in a remote town. Art, Artists and the Web: Part 3--What to Put on an Artist's Website What to put your the website if you are an artist.1) The art workTry and think like a gallery hanging a show. Build It and They Will Come Build it and they will come is not always true; you have to form a relationship with the company before you will get quality attendees or participants for a free service.The key to a human's heart is through food. How To Get Profits From Your 404 Page Not Found File "'Page Not Found' on this Server. Check the URL and try again. Website Success is Key The popular search engine Google indexes over 8 billion websites. Is one of them yours, or is your website just floating around in cyberspace and you're hoping your customers will just find you? Is your website a benefit to your organization or company? Is it just an expensive showpiece or is it of true value?These are some of the many questions that can be asked when launching a new website. Streamline your Business Website with a Content Management System I talk with so many people who have small businesses and would like to have a web presence but don't know the first thing about how to even get started. Some of the reasons I hear are:- I don't know how to build a website. How Disabled Users Access The Internet In 1995 a new era of accessibility for disabled people began. The Disability Discrimination Act was passed, stating that:"It is unlawful for a service provider to discriminate against a disabled person by refusing to provide any service which it provides to members of the public. Web Development Processes and Technical Environments The process of Web application development is critical to the success of web-based projects. The proper processes can not be enforced unless technical environments are properly setup. Website Value - Whats Your Business Website Worth? If you were asked to put a value on your website what would it be? Perhaps you paid a small fortune and commissioned a top design agency to build it. It would still be worth at least what you paid for it, right?It's a sad fact that a great number of websites are worthless. Beautiful Web Sites Seldom Make More Sales Designing an E-commerce Web site is not as simple as having a "pretty" site that is a pleasure to visit. While it is important to have an attractive site, as much thought must be given to functionality as to appearance. Getting One-way Inbound Links: the 5 Major Strategies With search engines putting a damper on direct reciprocal links, the hunt for the elusive one-way inbound link is on.As someone who works with small business website owners, I've heard just about every inbound-linking scheme there is. How Does Your Website Make Me Feel? When people think about the Internet, they think about technology. When people hear that I am a Website strategy expert, they see me as a "techy type". 5 Ways to Build a Website If you are like me you have wanted to build a website but didn't know how!Why?Because you haven't learned htmlBecause it costs too much to have someone do it for you.The software you have found is too complicatedYou just didn't have the time or patience to read the 500-page manualThere was no one to teach you how to do it. 3 Ways To Increase Your Websites Conversion rate Everywhere you look these days, people are telling you that in order to sell through your website, you need tons of traffic.Well, even though my business is traffic generation, *I'm* going to tell you that it's a BIG FAT LIE!The secret of a successful website isn't just in the amount of visitors it has; it's in the amount of visitors that are converted to buyers. Get Your Business on the Web I can't think of any business alive today that couldn't benefit from at least a minor presence on the web. Now that I've made that statement, I'm sure someone will point out one. Guide to Internet Business - Design and Content After deciding what kind of internet business you want to do, it's time to start planning the design and content of your business. Many people make the mistake of skipping this step, choosing instead to immediately start work on their website. The Internet Road Map 1) Data CaptureOne easy way to collect e-mail addresses and permission is via a signup box on your website. Place your signup box in a visible place on your homepage, and other appropriate pages, where visitors might choose to opt-in. What is The Google Toolbar? No matter what browser you may want to use, you should consider using Google's toolbar. Google. |
home | site map | contact us |