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: Help with Tax Calculator SitePoint UA Little Rock Student Gains International Experience as Web Development Intern in Australia University of Arkansas at Little Rock Welcome animation conflict with barba js SitePoint Web Design and Development Muskegon Community College From accounting to web development: Meet this Ironhack grad making big strides in programming Refresh Miami Button Styles Not Working On Phones SitePoint Will Ukraine nuke Russia if Donald Trump cuts aide? Reports say the country is just months away from build The Economic Times Northeastern grad goes from schooling to working full time at web development startup he created Northeastern University 17 Best Tech Website Designs in 2024 DesignRush The future of programming SitePoint Register for AIM’s Free Web Development Course by Sept. 10 Silicon Prairie News Latest News: Rising Senior Uses Computer Science Coursework to Thrive in Web Development Role Muhlenberg College Best Website Development Tools for 2024 DesignRush Wordpress-Gutenberg/React: MediaUpload? SitePoint Best web development tool of 2024 TechRadar Best PHP Frameworks for Web Development in 2024 Simplilearn 10 Best SEO Services Of 2024 Forbes Best web design software of 2024 TechRadar 38 Web Development Stats You Should Know in 2024 Influencer Marketing Hub Best laptops for programming of 2024 TechRadar WordPress Script Isn't Working SitePoint New Web Development Tool Pulls Design Tokens From Figma The New Stack CSS prevents page scrolling SitePoint Top 10 Front End Languages - A Beginner's Guide Simplilearn 35 Best Web Design Companies 2024 Built In Bachelor of Arts in Web Design and Development - Information Science University of Arkansas at Little Rock 10 Chicago Web Design and Development Agencies You Should Know Built In Chicago Any SEO benefits from Dedicated hosting? SitePoint Catchpoint Empowers Front-end Web Development Teams with Unparalleled Enterprise Insights Business Wire |
RELATED ARTICLES
Thinking Of Taking Money Online? Whats Best For Merchants? PayPal, WorldPay or Something Else? It's now easier than ever to take payments on the web. As people selling their wares take pot shots at eCommerce providers in an ever-increasing battle to sabotage their "competitors'" success it gets harder and harder to find an honest unbiased opinion. High Quality Website at Low Cost Although designing a great web site is an important part of developing a successful online business, it is often becomes a problem for newcomers to the internet business.The vulgar problem is the lack of money. What is SQL? What is SQL? SQL stands for Structured Query Language and is the lingua franca in the database world. SQL is a standard that is used by all database vendors and programmers to define, extract and access the information that is stored in databases. Wheres Your Focus, Money or Customer? Is your website Really useful?I had a 'rep' in yesterday who was telling me he had a website, not realising I'm a man of many talents he was telling me about all the new companies he was working with and the great products he could offer and reminded me to go to his website.When he'd finished, I asked him:-"what is the purpose of your website?" a question which he couldn't answer. If You Build It, They Will Come? Building a new website can be a lengthy task. From scratch to the client's specification and then implement additional features and/or changes the client usually has. Non-Profits: Successful Online Strategies More and more non-profit organizations are developing websites to help share information about their mission and programs. This involves strategic planning about the best way to present your image and message online. Building eCommerce Websites that Work - Part 2 Succeeding with an eCommerce website is a dream for many these days. It may seem nearly impossible at times, but it can be done. Are You Overlooking the Benefits of Using Sub-Domains within Your Web-hosting account? One of the most useful features offered by some web hosting companies, is the option of creating sub-domains in the same web hosting account. The problem is, most website owners are not aware of why and how to create sub-domains. Create Huge Income From Your Web Site - 10 Easy Ways The cost of setting up a web site is dirt cheap nowadays. You can register a domain for less than $2. Why A Simple Counter is Never Enough for Your Website A simple website stats counter is not enough if you are really interested in finding out information about your traffic. Certainly, a simple web counter will tell you how many people have visited your site, but that is it. 12 Tips To Great Websites Why do some sites succeed while the vast majority of others fail? More and more website owners are asking themselves these questions. The answers are often more obvious than you may think. Building Websites with Directory Generator Directory Generator, a product from Armand Morin and Marc Quarles, builds directory-style websites for you in a matter of minutes. It is simple to use, it's reliable, it does what it claims to do. Make Your Artist Website Sell! SummaryHere's the scoop on what you must know when designing a website to showcase your art, impress galleries, and win over collectors. Learn how to avoid the mistakes most emerging artists make when creating their online portfolio. Your Website Reflects Your Business Some left shoes are in isle 5, while the right shoes are in isle 3. Shoe hills are in random places. Planning A Usable Website: A Three-step Guide A website is like an information flow, with you as the provider and your site visitors as the receivers of the information. If you don't plan your website with this in mind right from the start, you could find yourself with a brand new website that solves all your immediate needs. Unlocking the Power of Your Website! Why do some web sites reap huge benefits while others just get lost in the shuffle? Do some web masters have a secret that most of us have overlooked? Actually, there is a secret to unlocking the power of your web site and it has to do with words. When communicating via the web, words truly make all the difference. Is Your Web Site Talking to Your Customer? A while ago one of my clients approached me and mentioned thatthey were experiencing a serious problem with customerregistrations (obtaining customer names and e-mail addresses),on their web site. They still had a lot of traffic, but werefinding that the ratio between traffic and registrations hadbeen dropping steadily. Benefits Of An Accessible Website: Part 2 - The Business Case The DDA (Disability Discrimination Act) states that service providers must not discriminate against disabled people. A website is regarded as a service and therefore falls under this law, and as such must be made accessible to everyone. Do You Need a Web Database? Does My Web Site Require A Web Database?If your web site require constant updates and feeding of information, a web database is the solution. In short, this applies to web sites that handle online products, news feed, members- based subscription and other functions as well. Using Psychology Easily on Your Website to Make More Sales! Psychology is a long word which everyone thinks, "no, that's not for me, it'll be too difficult". Apart from being lazy, anyone who thinks this is wrong. |
home | site map |
© 2006 |