How to add Web server identification to a Web page in SharePoint Portal Server 2003 (823281)



The information in this article applies to:

  • Microsoft Office SharePoint Portal Server 2003

SUMMARY

When you view a SharePoint Portal Server 2003 Web page, you may want to be able to find out the server that created the Web page. This article describes how to configure your Web server to add that information to the header of Web pages that are created as part of a new area in a SharePoint Portal Server Web site, or Web pages that use the SharePoint Portal Server Web Form controls to produce the top area of the page.

MORE INFORMATION

To configure your Web page to add the <!-- WFE Name: machinename --> attribute to the header of your Web pages, edit the Web.config file for your Web page. To do this, follow these steps:
  1. On the server that is hosting the Web page that you want to configure, locate the following folder where drive is the letter of the drive where your Web server is installed:

    drive:\inetpub\wwwroot\

  2. Save a backup copy of the Web.config file as Web2.config.
  3. Open the Web.config file, and then add the following line between the <appSettings> tags:
          <add key="SPS-EnableWFENameCommentInPages" value="true" />
      
    Note If there are no <appSettings> tags, create the following tags as a child of the <configuration> level of Web.config:

    <appSettings></appSettings>
  4. Save the Web.config file.

Modification Type:MinorLast Reviewed:1/9/2006
Keywords:kbWebServer kbConfig kbBug kbinfo KB823281 kbAudITPRO