zoukankan      html  css  js  c++  java
  • 不能打开远程帮助文件的解决办法

    http://support.microsoft.com/kb/896054

    Example 1: How to use UrlAllowList to enable specific URLs

    Warning Include only URLs to sites that you trust completely.

    The following .reg file re-enables use of the InfoTech protocol to open remote content from the following locations:

    .chm files on \\productmanuals\helpfiles
    A Web application at the following URL:
    http://www.wingtiptoys.com/help/
    Note You can paste the following text in a text editor such as Notepad. Then, you can save the file that uses the .reg file name extension.

    REGEDIT4
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp]
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]
    "UrlAllowList"="\\\\productmanuals\\helpfiles;file://\\\\productmanuals\\helpfiles;http://www.wingtiptoys.com/help/"

    Note As you can see from the example, to enable a UNC path to a network shared folder, you must add the following two entries:

    \\productmanuals\helpfiles\;file://\\productmanuals\helpfiles

    You cannot use wildcard characters in the URL string of any site that is added to the UrlAllowList registry key. For example, the following string does not work:

    "UrlAllowList"="http://*.wingtiptoys.com"

    However, the following string works:

    "UrlAllowList"="http://help.wingtiptoys.com"

    This string lets the following sites serve content by using the InfoTech protocol:

    http://help.wingtiptoys.com/research
    http://help.wingtiptoys.com/sales
    You still cannot access .chm files by using a URL. Although we do not recommend that you do this, you can access the files by following example 2 and setting the "MaxAllowedZone" to three or larger. This is because the .chm file uses the Internet Explorer cache and every page that comes from the cache uses the Internet zone. Therefore, we highly recommend that you use the UNC path to access the Help files as previously described.

  • 相关阅读:
    动态规划精讲(一)LC最长公共子序列
    0-1背包
    折线分割平面
    母牛的故事
    数塔
    70. 爬楼梯
    文件修改的两种方式
    文件处理练习
    文件处理
    购物车理解
  • 原文地址:https://www.cnblogs.com/amonw/p/1077021.html
Copyright © 2011-2022 走看看