Microsoft Knowledge Base Email Alertz

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. Server error: The

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 215365 - Last Review: February 22, 2007 - Revision: 1.1

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

This article was previously published under Q215365

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.

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.

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.

APPLIES TO
  • Microsoft FrontPage 2000 Server Extensions
Keywords: 
kbprb KB215365
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Anonymous User Report As Irrelevant  
Written: 9/1/2004 11:19 AM
Thank you.... This helped me solve my problem...