Microsoft KB Archive/823281

From BetaArchive Wiki
Knowledge Base


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

Article ID: 823281

Article Last Modified on 1/9/2006



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 ' 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.


Keywords: kbinfo kbbug kbwebserver kbconfig KB823281