Search 5,000,000+ questions and answers.

Frequently Asked Questions

What file permissions do I need for my CGI script?

Welcome to TazaaHosting.com
CGIs must be set with executable file permissions, or requests for the script from the web server will result in an Internal Server error. Scripts that need to be executable should have their permission set with chmod 755. This sets the file's permissions so that the file's owner may read, write, and execute the file; and anyone else can only read and execute it.
Related Questions

Question: What file permissions do I need for my CGI script?

Enterprise Digital - Hosting Frequently Asked Questions
Answer: CGIs must be set with executable file permissions, or requests for the script from the web server will result in an Internal Server error. Scripts that need to be executable should have their permission set with chmod 755. This sets the file's permissions so that the file's owner may read, write, and execute the file; and anyone else can only read and execute it.
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 use the Forms to File CGI script?

Webadmin Documentation
This example above will submit information entered in the 'test' textbox into a file called 'myfilename'. This file will be stored in the root directory with a .frm extension, so that it's more difficult to delete this file by accident. To protect directories, you do not need to create .htaccess and .htpasswd files anymore. Instead, you can use the Webadmin tool and select option 6.
Related Questions

Why do I need to change file permissions?

Technical FAQ for Easy Availability page
Because web server operating systems place a heavy emphasis on who is allowed to Read, Write, and Execute files and scripts on your server. This is for security purposes. In Easy Availability there are a couple of files that need to be marked as 'Writeable' in order for the program to work.
Related Questions

How can I use file permissions in afs?

The umich.umce.login FAQ List
These permissions are the afs Access Control Lists, or ACLs. You can set (and list) these with the "fs" command. To list the ACL for a particular directory, use the command: where "directory" is the directory we're changing, remembering that you can always use a period to indicate the current directory, "user" is the uniqname of the person we are permitting (or depermitting) the directory to, "rlidwka" is any combination of that list of letters, which are explained below.
Related Questions

I need a CGI script to do a certain task. Has anyone done it before?

ActivePerl FAQ - Web Programming
There are several CGI script archives on the web. You may not be able to find exactly the script you want, but you will probably find something that can be adapted to your needs. Note that most script archives have UNIX-targeted scripts, and you may have to make some adaptations to them to make them run (see How do I make a UNIX-based script work?). This is one of the most common questions on the Perl-Win32-Users list. Occasionally it's phrased more like "I have a program to write.
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

What permissions do I need to perform a backup?

Environment settings set by a batch file are not working.
The operator performing the backup requires the "back up files and directories" user right. This can be given directly using user manager, or the preferred way is to make the user a member of either the Administrators group or the backup operators group.
Related Questions

What file permissions need to be set?

PhpGedView FAQ - Online genealogy at its best
If you want to use the language editing features you will need to set write permissions for all of the files in the ./languages folder If you want to upload media files using the upload media section of the admin menu then you need to set write permissions for your ./media and ./media/thumbs directory If you want to edit your gedcom file online, the gedcom file must have write permissions set for the PHP user. The method to set write permissions varies depending on your server configuration.
Related Questions

What do I need to know about file permissions and "chmod"?

A guide to CGI Scipts at 4eIT.com - Linux web hosting, compl...
Unix systems are designed for multiple users, and include provision for protecting your work from unauthorised access by other users of the system. The file permissions determine who is permitted to do what with your programs, data, and directories. The command that sets file permissions is chmod. Web servers typically run as user "nobody".
Related Questions

What are the file permissions supposed to be set to for this script to function properly?

Frequently Asked Questions • Quadodo Login Script
The script requires that all files being used by it are set to 755. Anything higher will work, but isn't safe. If it's lower you will most likely run into problems with the script.
Related Questions

What permissions do I have to set on my CGI scripts?

Frequently Asked Questions
The folder in which you place your CGI program should be chmoded to 755 ( web server will refuse to run if writeable permission is set for either group or other). The CGI program itself must be chmoded to 755.
Related Questions

What are file permissions and how do I change them?

The Broadband Reports Windows XP FAQ - dslreports.com
File permissions are the system's way of telling you what you can and cannot do with a file or folder. They are governed by Access Control Lists (click for definition). There are two ways of setting file permissions. You can do it the graphical way or the command-line way. To do it graphically, you must have Simple File Sharing disabled from the View tab of Folder Options (Professional only) or be in Safe Mode (either). Right-click on the object of your choice and click Properties.
Related Questions

Can file appenders create files with different permissions?

Log::Log4perl::FAQ - Frequently Asked Questions on Log::Log4...
Typically, when Log::Log4perl::Appender::File creates a new file, its permissions are set to rw-r--r--. Why? Because your environment's umask most likely defaults to 0022, that's the standard setting. What's a umask, you're asking? It's a template that's applied to the permissions of all newly created files.
Related Questions

What permissions will I need to set my CGI scripts to in order to have them run properly?

Web Hosting Canada - Frequently Asked Questions (FAQ)
CGI scripts only need to be chmod 755 to run. Additionally, scripts should NOT be put at 777 on any server. This is a huge security risk and opens your account up to all sorts of possible abuse. If you have any scripts chmoded to 777, then please change them to 755 immediately. Simply remove the "www." and you should be able to access the subdomain fine. Subdomains cannot contain the "www." prefix.
Related Questions

Why do I need to have a cgi-script when I can just add the links to a webpage?

MyWebFriends.com - Free Friends pages for amateurs!
By using a cgi-script those accounts who have signed up on your MyWebFriends page will be listed by how many hits they send automatically. No more checking stats pages and having to rearrange your links - the cgi-script takes care of it all. People can sign up and administrate their accounts without having to e-mail you to do it by hand and therefor save you alot of time and money.
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

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

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact