Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Server Error: The folder "/Cgi-bin" Is Marked Executable


View products that this article applies to.

Symptoms

When you publish a FrontPage Web to a server, the following error message appears:

Server error: The folder "/Cgi-bin" is marked executable. You are not allowed to put files into an executable folder on this server.
The folder name Cgi-bin is any folder that is marked as executable, which also exists on the server.

↑ Back to the top


Cause

For security reasons, the default setting on FrontPage 2000 Webs does not allow authors to upload executable files into executable folders, and then into a FrontPage Web. This setting protects servers so that authors do not inadvertently upload a program containing a bug or a virus. This error occurs if there are any files in the executable folder that are being published to the server.

↑ Back to the top


Resolution

If you need to publish files to an executable folder on the server, you need to make a request to the Server Administrator to create settings on the server that allow this.

If the administrator cannot do this for you immediately, then you should remove any files from the executable folder in your Web in order for the published files to succeed until the setting is made on the server.

On Internet Information Server (IIS) 4.0, the setting to allow authors to upload executables is created in the Internet Services Manager. For these servers, the administrator must do the following:

  1. In the console tree, right-click the root Web where you want to make the folders executable.
  2. Click Properties on the Shortcut menu, and then click the Server Extensions tab.
  3. Make sure that the Don't Inherit Security Settings check box and the Allow Authors to Upload Executables check box are both selected (checked).
For all other Web servers on Windows, the setting is created using the Stand Alone FrontPage MMC snap-in, Server Extensions Administrator. To access the Server Extensions Administrator on Windows NT, do the following:

  1. Click Start, and point to Programs.
  2. Point to Administrative Tools.
  3. Click Server Extensions Administrator.
To access the Server Extensions Administrator on Windows 95/98, do the following:

  1. Click Start and point to Programs.
  2. Point to Microsoft Office Tools.
  3. Click Server Extensions Administrator.
To allow authors to upload executables, do the following:
  1. In the console tree, right-click the root Web where you want to make the folders executable.
  2. Click Properties on the Shortcut menu, and then click the Server Extensions tab.
  3. Make sure that the Allow Authors to Upload Executables check box is selected.
On UNIX servers, the setting is created in the configuration files. When NoExecutableCgiUpload is set to a non-zero (0) value, the FrontPage Server Extensions set the execute bit on any CGI scripts that an author uploads to a Web using FrontPage. A Web Presence Provider can manually set the execute permission after inspecting the CGI script. When NoExecutableCgiUpload is set to 0, the Server Extensions automatically set the execute bit on CGI scripts to uploaded to an author's Cgi-bin directory.

To make the setting global for all virtual servers on the UNIX server, add the setting NoExecutableCgiUpload:0 to /usr/local/frontpage/version4.0/frontpage.cnf.

To create the setting per virtual server:
For a single host system, create NoExecutableCgiUpload:0 in the /usr/local/frontpage/we80.cnf

-OR-

For a multihosted system, created it in /usr/local/frontpage/hostname:port.cnf.

↑ Back to the top


Keywords: KB215365, kbprb

↑ Back to the top

Article Info
Article ID : 215365
Revision : 2
Created on : 2/22/2007
Published on : 2/22/2007
Exists online : False
Views : 402