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.

How to Set CGI-BIN to Executable in the MMC


View products that this article applies to.

This article was previously published under Q215486

↑ Back to the top


Symptoms

When you configure a CGI-BIN directory in the content area of your Web and attempt to use the FrontPage Server Extensions Administrator or the FrontPage snap-in to the Internet Services Manager to mark it executable, the Tasks option is unavailable (grayed) and you cannot make it executable.

↑ Back to the top


Resolution

To resolve this problem, use the appropriate server's administration tools to mark the directory executable.

Alternatively, you can use the Fpsrvadm.exe program to mark the folder executable. Fpsrvadm.exe is located in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\40\Bin\Fpsrvadm.exe. If you browse to this directory using Windows Explorer, and double-click on Fpsrvadm.exe, you get a command prompt. Select option 11 and set the directory to executable.

If CGI-BIN is located in the root Web of the server at http://server/cgi- bin, and this is a single-hosted server on port 80, use the following steps:
  1. Double-click Fpsrvadm.exe to get a command prompt.
  2. Enter option 11 to set the directory to executable.
  3. Enter port [80]: If your server is on a different port, enter it here, otherwise press the Enter key to accept the default 80. If this is a multihosted server, enter host name:80).
  4. Enter Web name []: This is the URL of a directory, relative to the root of the content area, such as /myweb. If CGI-BIN is in the content area of the root, then there is no need to enter a Web name).
  5. Enter destination URL []: /cgi-bin. This is the URL of a folder in the Web relative to the root of the content area such as /myweb/cgi- bin. If CGI-BIN is in the content area of the root, then you should enter /cgi-bin.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the FrontPage 2000 Server Extensions.

↑ Back to the top


Keywords: KB215486, kbbug

↑ Back to the top

Article Info
Article ID : 215486
Revision : 2
Created on : 2/21/2007
Published on : 2/21/2007
Exists online : False
Views : 289