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

This article was previously published under Q215365
This article has been archived. It is offered "as is" and will no longer be updated.
SYMPTOMS
When you publish a FrontPage Web to a server, the following error messageappears:

Server error: The folder "/Cgi-bin" is marked executable. You are notallowed to put files into an executable folder on this server.
The folder name Cgi-bin is any folder that is marked as executable, whichalso exists on the server.
CAUSE
For security reasons, the default setting on FrontPage 2000 Webs does notallow authors to upload executable files into executable folders, and theninto a FrontPage Web. This setting protects servers so that authors do notinadvertently upload a program containing a bug or a virus. This erroroccurs if there are any files in the executable folder that are beingpublished to the server.
RESOLUTION
If you need to publish files to an executable folder on the server, youneed to make a request to the Server Administrator to create settings onthe server that allow this.

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

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

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

  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 thefollowing:

  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 tomake the folders executable.
  2. Click Properties on the Shortcut menu, and then click the ServerExtensions tab.
  3. Make sure that the Allow Authors to Upload Executables check boxis selected.
On UNIX servers, the setting is created in the configuration files. WhenNoExecutableCgiUpload is set to a non-zero (0) value, the FrontPage ServerExtensions set the execute bit on any CGI scripts that an author uploadsto a Web using FrontPage. A Web Presence Provider can manually set theexecute permission after inspecting the CGI script. WhenNoExecutableCgiUpload is set to 0, the Server Extensions automatically setthe execute bit on CGI scripts to uploaded to an author's Cgi-bindirectory.

To make the setting global for all virtual servers on the UNIX server, addthe 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.
front page
Properties

Article ID: 215365 - Last Review: 02/21/2014 00:33:23 - Revision: 1.1

  • Microsoft FrontPage 2000 Server Extensions
  • kbnosurvey kbarchive kbprb KB215365
Feedback