Search 5,000,000+ questions and answers.

Frequently Asked Questions

Why doesn't my cgi script work?

Web Hosting Support FAQ's
The most common reason for this to happen is that the scripts permissions haven't been set properly. Make sure that the permissions of the script file and the directory tree (relative to the server's document root) are set no higher than 755, or user: read, write, execute; group: read, execute; other: read, execute (-rwxr-xr-x). Web Hosting | Web Hosting Support | Contact | Linking | Site Map | Acceptable Use | Privacy Policy | Service Agreement
Related Questions

Why doesn't my CGI/PHP/MySQL script work?

Granite Belt Hosting FAQ
There are many reasons for CGI or PHP scripts not running, first try consulting the documentation that came with the script.If dose not help try the support forum for the software or contact us for a small fee we will have a look.
Related Questions

Unlimited-Space.com :: FAQ
We do allow you to run CGI scripts from our servers, but we do not offer technical support for them. Try consulting the documentation that came with the script.
Related Questions

Why doesn't Expect work when called from a setuid script?

Expect FAQ (Frequently Asked Questions)
From: Rusty Wright <rusty@socrates.berkeley.edu> >I'm trying to run a setuid shell script that calls expect. When >expect does a spawn it gets the error message: > > open(slave pty): bad file number > parent: sync byte write: broken pipe > >Here are the version numbers: > > expect: expect-5.28 > tcl: tcl8.0.3 > OS: SunOS 5.6 (sparc) > >Expect and tcl were compiled with gcc-2.8.1.
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

How can I get my script's output without Apache buffering it? Why doesn't my server push work?

Apache Server Frequently Asked Questions
of Apache 1.3, CGI scripts are essentially not buffered. Every time your script does a "flush" to output data, that data gets relayed on to the client. Some scripting languages, for example Perl, have their own buffering for output - this can be disabled by setting the $| special variable to 1. Of course this does increase the overall number of packets being transmitted, which can result in a sense of slowness for the end user. Prior to 1.
Related Questions

Why doesn't my CGI work?

Using CGI Scripts
Make sure when you upload the CGI file DO NOT upload in binary mode, instead use ASCII mode. Uploading in binary will cause the server not to recognize the scripts as executables. Most FTP clients will upload .pl or .cgi files in binary mode by default so you will need to change this. You will need to upload the scripts into your cgi-bin directory for security reasons, however they will execute from anywhere within your account. The last step is to set the file permissions.
Related Questions

Why doesn't my shell script work?

The Cygwin FAQ
There are two basic problems you might run into. One is the fact that /bin/sh is really ash, and is missing some features you might expect in /bin/sh, particularly if you are used to /bin/sh actually being bash (Linux) or ksh (Tru64). For example: Or, it could be a permission problem, and Cygwin doesn't understand that your script is executable. Because 'chmod' may not work (see FAQ entry above), Cygwin must read the contents of files to determine if they are executable.
Related 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

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 doesn't CGI/SSI work on my page ?

FAQ
If the www-server lets the CGI-call pass unmodified (ie. you can read text like <!--#exec cgi="script.cgi" --> when the page is loaded in a browser), then the page is probably named incorrectly. HTML-files must have the extension .html (small caps) to enable the www-server to parse them correctly. If you make your pages in a DOS/Windows environment it is common that they are named .HTM or something else.
Related Questions

I tried to upload cgi files in the /cgi-bin/ folder but it doesn't work. Why?

en:faq-webhosting [VIF]
On our server the CGI BIN is actually the folder /cgi/. Simply create this folder and upload your .cgi or .pl files, and you will be able to use them. Remember to set the Execute permissions for all cgi files, or they will not run. Also, all text files have to be uploaded in ASCII mode, and this includes CGI files also.
Related Questions

What if it doesn't work?

The Society for Clinical & Medical Hair Removal, Inc. | ...
If the area being treated does not respond as described in the consultation and if there are other arising health problems, (ie., irregular periods, weight gain, etc.) discuss this with the electrologist so a medical treatment plan can be implemented if necessary.
Related Questions

Lasik laser eye surgery from Ultralase: Frequently asked que...
After treatment, the eyes go through a natural recovery period. For 97% of patients, the results reach the target standard of vision - or better. A few people do not quite achieve the desired standard of vision - for these people, a re-treatment can be one option. Remember all your aftercare is backed up by our unique Lifetime Care Guarantee.
Related Questions

Frequently Asked Questions About Molluscum and ZymaDerm
We can't guarantee that ZymaDerm will work for you, but we do offer a 6 month money back guarantee to help assure your satisfaction. If you are not happy let us know and we will give you a refund up to 6 months from the date of purchase. No conditions, no exceptions. (Please don't cheat. Thank you).
Related Questions

How does the provided script work?

Internet Explorer 7 Blocker Toolkit: Frequently Asked Questi...
The script accepts one of two command line options (block and unblock) and creates or removes the registry key that controls whether Internet Explorer 7 is offered automatically to the system (via Automatic Updates or the "Express" install option for manual Windows Update/Microsoft Update site scans).
Related Questions

Can Expect act like a browser and retrieve pages or talk to a CGI script?

Expect FAQ (Frequently Asked Questions)
From: jasont@netscape.com (Jason Tu) Date: Sat, 02 Nov 1996 09:51:03 -0800 I read your book "Exploring Expect" and find Expect is just the tool to test Netscape's enterprise server product, since it is very easy to use and quick to develop. I figured I would use telnet to send HTTP protocol dialog to a HTTP server and simulate how it behaves. But I couldn't get it to work at all. I am wondering that there might be a quick example that you can share with me.
Related Questions

What if my CGI script isn't working?

Web Hosting Singapore - Frequently Asked Question
Check the error log - it will often give you a line number and an error to work with - if it just says "Premature end of script headers" check the following: Check the permissions - Make sure that the script is *only* writeable by the owner - not group or world. Check to make sure that the script is outputting the correct header: Content-type: text/html\n\n is the most common for cgi scripts that output HTML.
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact