Microsoft Knowledge Base Email Alertz

(823281) - 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...

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: 823281 - Last Review: January 9, 2006 - Revision: 2.4

How to add Web server identification to a Web page in 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.

APPLIES TO
  • Microsoft Office SharePoint Portal Server 2003
Keywords: 
kbwebserver kbconfig kbbug kbinfo KB823281
       

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