To enable debugging on a Web server with URLScan installed

  1. Locate the Urlscan.ini file. Normally, you will find it in a directory that looks something like this:

    C:"WINNT"System32"Inetsrv"urlscan

  2. Create a copy of the file, and name it Urlscan.old.

  3. Open the original copy of the Urlscan.ini file using Notepad or the text editor of your choice.

  4. In Urlscan.ini, locate the [AllowVerbs] section. Add DEBUG to the [AllowVerbs] section. If you see ;DEBUG in the [AllowVerbs] section, remove the semicolon to uncomment the verb.

  5. Locate the [DenyVerbs] section. If DEBUG appears in the [DenyVerbs] section, remove it.

  6. Save the file.

  7. Restart the server or restart IIS.

posted on 2009-05-08 12:49  蔡春升  阅读(206)  评论(0编辑  收藏  举报