Search 5,000,000+ questions and answers.

Frequently Asked Questions

I get a Server Error when I run my cgi script. How can I fix that?

CheaperWebHost.com - Frequently Asked Questions (FAQs)
First, make sure that the permissions on the file are set properly for execute permission. By default, the permissions are 644 (rw-r--r--) and do not allow execution. You need to change the permissions, or the mode, on your cgi script to 755 (rwxr-xr-x). Some FTP programs allow you to change file permissions, if yours doesn't, then you can use the File Manager in your Control Panel to change the permissions.
Related Questions

Can Expect be run as a CGI script?

Expect FAQ (Frequently Asked Questions)
Many Expect scripts can be run directly with one change - the following line should be inserted before any other output: puts "Content-type: text/html\n" Next, make sure you invoke external programs using full paths. For example, instead of "spawn telnet", use "spawn /usr/ucb/telnet" (or whatever). Remember that the PATH and other environment variables are going to be different than what you are used to.
Related Questions

Why am I getting an "Internal Server Error" when I try to run my CGI or PHP script?

Alien Web Hosting
First, check the end of your error_log file which is present in your logs/ directory. If it shows a "Premature end of script headers" message for your CGI script, make sure that you have uploaded the script in ASCII mode from your FTP transfer program, and that if it is a perl script, the first line reads "#!/usr/bin/perl".
Related Questions

Why do I sometimes get a 500 (Internal Server) Error on my PHP/CGI script?

Web Shoppe | Xentrik Hosting | FAQ
All scripts are limited in the amount of CPU they can use. If your script is too CPU intensive, or runs for longer than 20 seconds, it will be shut down, giving a 500 error.
Related Questions

I get a CGI error when I try to run my script. Where can I get help?

en:faq-webhosting [VIF]
Unfortunately we cannot offer support for CGI scripting, so you will have to fix them on your own. You could start by doing a search on your favorite search engine (we recomment Google) for the error number or message you’re getting, and you might find some answers.
Related Questions

What information and server paths are needed to run a CGI script?

Laughing Squid Web Hosting & CGI
CGI scripts must be run from the cgi-bin directory which is outside the httpdocs directory. CGI scripts need to have a .cgi or .pl extension.
Related Questions

Not sure if you can run a CGI script on your web host or web server?

Frequently Asked Questions about Free Perl/CGI Scripts from ...
If you have a question and don't want to scroll through the list below, use this handy search thingy. If you don't find the answer to the question in the README file for the program, on the main information page for the program, or here, please drop us an email so we can add it to the list! Before you email me, please note that these scripts are not supported for sites on Tripod.com. For a free web hosting provider who supports CGI scripts, you can try HyperMart or Netfirms.com.
Related Questions

How do I run a CGI script over the Web?

I211 Information Infrastructure II
Name the CGI script using the extension cgi, for example myscript.cgi, and place it in the /var/www/cgi-bin/myusername directory. Make sure that the script has the appropriate permissions: it should be world-readable and world-executable (755). Test your script locally (from the shell) first, to make sure it compiles and runs without errors before it is run over the Web. Finally, point a browser to http://sulu.informatics.indiana.edu/cgi-bin/myusername/myscript.cgi.
Related Questions

Why do I get a "Server Error" whenever I try to run a Harvest cgi?

Harvest Indexer FAQ
This means that the script is failing before getting a chance to output any data. Look at the error log of your web server for any error output produced when the script is run, and see section 4.6 (above) for suggestions on what to do if your web server doesn't log meaningful error output.
Related Questions

When I try to connect to a server via FTP, I get the error 'connection timeout.' How can I fix this?

Internet Archive Frequently Asked Questions
This error is caused by a setting in your FTP client, that limits the amount of time your FTP client will wait for a server to respond. In order to fix this problem, increase the "server timeout" setting; a setting of 180 seconds should be enough time to connect to the archive.org servers. If you use SmartFTP, the "server timeout" setting can be found in Tools > Settings > Connections.
Related Questions

What is an Internal Server Error and how do I fix it?

Frequently Asked Questions
This is a common error found in a Web browser when you are attempting to run a Perl or CGI script that has problems. The three most common reasons for this error are the following: Your script permissions are set wrong. Try setting them to 777 or 755 temporarily while troubleshooting the error. Your script was uploaded in binary file format instead of ASCII. You must upload Perl and CGI scripts in ASCII format only. Your path to Perl (the "sha bang" )line is wrong.
Related Questions

When I run Sawmill, I get an error message saying "Unable to start web server". How can I fix this?

Sawmill: Frequently Asked Questions (FAQ)
There are many possible causes of this. Make sure Sawmill is not already running, and you don't have a firewall or other security program blocking Sawmill from starting a server. For full details, see Can't Start the Server. You may be using a proxy server which prevents you from accessing a server running on your own machine. Try reconfiguring the proxy to allow it, or try running Sawmill on IP 127.0.0.1 (the loopback interface). For full details, see Can't Access the Server.
Related Questions

My CGI causes an "internal server" error; what do I do ?

MFCF/CSCF Frequently Asked Questions: Creating your own web ...
First check here (in Student Web Server Upgrade to Apache 1.3 ) to see if your problem is because of Apache 1.3 slightly silly directory permission requirements. If not, you can get hints about what's really going wrong by looking in /software/wwwapache-1.3_server/logs/error_log /software/wwwapache-1.3_server/logs/access_log /software/wwwapache-1.3_server/logs/cgi.
Related Questions

What is a CGI script?

Virtual Domain FAQ's. BonusPages Web Site prices from less t...
A CGI script is a special kind of text file that the server can run to perform various tasks, such as displaying a hit counter, or mailing a form to you which has been filled out by a customer. We offer 3 basic CGI scripts already installed and ready to run. You also have access to your own CGI-BIN directory where you can place your own scripts.
Related Questions

Untitled Document
CGI (Common Gateway Interface) scripts are used to supplement basic HTML pages by making your Web site more interactive and functional. You can program many useful features in CGI scripts, such as hit counters, guest books, order forms and message boards. CGI is an alternative to Microsoft Active Server Pages (ASP). CGI programs are programs that actually execute on the web server, not on the client's computer.
Related Questions

DPW Enterprises Web Design and Hosting Services FAQ's - Manc...
Common Gateway Interface (CGI) is a standard method of transmitting information between an application and a Web server. CGI scripts are used to supplement basic HTML pages by making your Web site more interactive and functional. You can program many useful features in CGI scripts, such as hit counters, guest books, order forms and message boards. CGI is an alternative to Microsoft Active Server Pages (ASP).
Related Questions

Frequently Asked Questions: WestLake Training
CGI (Common Gateway Interface) scripts are programs that reside on your Web server and are primarily used to process information entered into forms. To explain further: when you have a form on your Web site (e.g., a product order form or a class registration form), there are two components to it: The HTML page containing the code for the form. When the user visits this page, the form is displayed in the browser so that the user can fill it out.
Related Questions

BonusPages FAQ's. Web Page Hosting less than $3.00/Month! Fr...
A CGI script is a special kind of text file that the server can run to perform various tasks, such as displaying a hit counter, or mailing a form to you which has been filled out by a customer. We offer 3 basic CGI scripts already installed and ready to run. Contact us for specific instructions on how to use these on your pages.
Related Questions

How do I call my CGI script?

CGI Frequently Asked Questions
In your HTML documents, reference your cgi script with the following path: http://www.yourdomain.com/cgi-bin/script.
Related Questions

Why Does My CGI script give me a Permission Denied Error?

Using CGI Scripts
CGI scripts need to be set executable. You need to change the mode, or permissions, of your programs with your FTP program, and make them 755, or rwxr-xr-x. Note: A lot of scripts out there will tell you need to make them 775 or even 777. This is not good! It means anyone on the server can write to your script, and since its executable and executes as you, it could delete all your files.
Related Questions

I'm writing a CGI script - what are the paths on my server?

DecaTech Solutions - Web Hosting Frequently Asked Questions
For example, in the above paths, if your site is www.coloradomusic.org, "domain" refers to "coloradomusic.org".
Related Questions

I'd like to use this script but my server does not support CGI. What to do?

TRIDUNG.DE
You can register an account at [www.netfirms.com] or [www.spaceports.com]. FPG version 1.13 or higher will automatically kill the advertisting banner codes of Netfirms.
Related Questions

How do I run a server side script?

comp.lang.javascript FAQ - 9.91 - 2008-01-19
You trigger a server-side script by setting any object's URL. For example a frame, window, or an Image. An image will also "swallow" the data sent back by the server, so that they will not be visible anywhere. var dummyImage = new Image();dummyImage.src = "scriptURL.asp?param=" + varName; Mozilla (NN6.2+, Firefox, Ice Weasle etc), Opera 7.6+, Safari1.2+, the Windows version of IE versions 5+, and some other browsers provide the XML HTTP Request object.
Related Questions

I have a cgi script I want to convert to run with CHEESE. What do I have to do?

CHEESE FAQ
If it writes urls or serves documents that contain urls which point to documents in the CHEESE area, you need to edit those urls on the fly so that they contain a call to the CHEESE package and the user's ticket. A package of routines that does this for perl scripts is provided with CHEESE; see the CHEESE documentation for details. You should run it at least once a day with the argument 'all' to get rid of all tickets, so that the next day we start with a fresh batch. 4 a.m.
Related Questions

Question: Why my CGI-BIN or Perl Script doesn,t run ?

A Reliable Hosting Provider for quality and 24 hours support...
Answer : Visit the following link to view the solution : http://httpd.apache.org/docs/misc/FAQ-F.html#premature-script-headers
Related Questions

My program runs fine from the command line, but bombs out when run as a CGI script. Why?

Web Server Configuration and Troubleshooting
Usually, this means one of two things: either you have misconfigured your system, or your script does not output the right stuff to be a CGI script. If you depend on the PATH variable, make sure that you put perl.exe in your system PATH, not just your personal PATH Check the information above with a script that you _know_ creates the right output for the CGI protocol (scripts in this FAQ are a good first choice). Try it with your own script after you're sure the test script will work.
Related Questions

When I try to connect to a server via FTP, I get the error "connection timeout." How can I fix this?

Internet Archive Frequently Asked Questions
This error is caused by a setting in your FTP client, that limits the amount of time your FTP client will wait for a server to respond. In order to fix this problem, increase the "server timeout" setting; a setting of 180 seconds should be enough time to connect to the archive.org servers. If you use SmartFTP, the "server timeout" setting can be found in Tools > Settings > Connections.
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact