'Cgi-bin' Does Not Refer to a Page or Folder in This Web

ID: Q201697


The information in this article applies to:
  • Microsoft FrontPage 2000 Server Extensions


SYMPTOMS

When you try to create a new folder in your FrontPage Web, you get the message:

folder name does not refer to a page or folder in this web
The most common errors seen are:
Server error: 'cgi-bin' does not refer to a page or folder in this web. It may be a page or folder in a subweb, or it could be a badly formed URL.
and

Server error: 'images' does not refer to a page or folder in this web. It may be a page or folder in a subweb, or it could be a badly formed URL.
The folder name for this error could essentially be any folder you create.


CAUSE

Typically, the error means that you are trying to create a folder that is already mapped with a virtual directory and already exists for the virtual server you are working on. Furthermore, it could be that you are trying to create a folder in a Web for which there is already a sub Web with that name.

For instance, Cgi-bin is usually created by FrontPage in the root Web. If you were to make changes on the Web server to map Cgi-bin to a noncontiguous location outside of the FrontPage Web, then turn around and try to create a new folder with FrontPage in the Web, you would get an error message. The error message in this case would be:

Server Error: 'cgi-bin' does not refer to a page or folder in this web.
Another example would be if the Images folder, which is included for each FrontPage Web, is mapped to a noncontiguous location outside of the FrontPage content area, and an attempt is made to make a new folder in the Web called Images. This would also give the error message:
Server Error: 'images' does not refer to a page or folder in this web.
Another possible cause of this error would occur if you were to create a sub Web called "myweb," then open the root Web and try to create a folder with the name "myweb." This would result in the error message:
Server Error: 'myweb' does not refer to a page or folder in this web.


WORKAROUND

For a virtual server, FrontPage uses the virtual directories defined on the Web server. If FrontPage detects that a virtual directory exists for an existing folder mapped with the same alias, contiguous or not, it will give the errors listed above when creating new folders. You can either name the folder something else or rename the existing mapped virtual directory to another name.


STATUS

Microsoft has confirmed this to be a problem in the FrontPage 2000 Server Extensions.

Additional query words: front page

Keywords : fpse2000
Version : winnt:
Platform : winnt
Issue type : kbbug


Last Reviewed: April 14, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.