• 技术文章 >后端开发 >php教程

    Apache Reference Manual (3)_PHP教程

    2016-07-13 17:11:34原创289
    ContentDigest directive
    Syntax: ContentDigest on|off
    Default: ContentDigest off
    Context: server config, virtual host, directory, .htaccess
    Override: Options
    Status: experimental
    Compatibility: ContentDigest is only available in Apache 1.1 and later
    This directive enables the generation of Content-MD5 headers as defined in RFC1864 respectively RFC2068.
    MD5 is an algorithm for computing a "message digest" (sometimes called "fingerprint") of arbitrary-length data, with a high degree of confidence that any alterations in the data will be reflected in alterations in the message digest.
    The Content-MD5 header provides an end-to-end message integrity check (MIC) of the entity-body. A proxy or client may check this header for detecting accidental modification of the entity-body in transit. Example header:
    Content-MD5: AuLb7Dp1rqtRtxz2m9kRpA==
    Note that this can cause performance problems on your server since the message digest is computed on every request (the values are not cached).
    Content-MD5 is only sent for documents served by the core, and not by any module. For example, SSI documents, output from CGI scripts, and byte range responses do not have this header.
    --------------------------------------------------------------------------------
    CoreDumpDirectory directive
    Syntax: CoreDumpDirectory directory
    Default: the same location as ServerRoot
    Context: server config
    Status: core
    This controls the directory to which Apache attempts to switch before dumping core. The default is in the ServerRoot directory, however since this should not be writable by the user the server runs as, core dumps won't normally get written. If you want a core dump for debugging, you can use this directive to place it in a different location.
    --------------------------------------------------------------------------------
    DefaultType directive

    www.bkjia.comtruehttp://www.bkjia.com/PHPjc/629578.htmlTechArticleContentDigest directive Syntax: ContentDigest on|off Default: ContentDigest off Context: server config, virtual host, directory, .htaccess Override: Options Status: experimental Com...

    声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。
    专题推荐:Apache Reference Manual ContentDigest directive Syntax off D
    上一篇:session全教程(三)_PHP教程 下一篇:Apache Reference Manual (5)_PHP教程
    VIP课程(WEB全栈开发)

    相关文章推荐

    • 【腾讯云】年中优惠,「专享618元」优惠券!• 20+值得了解的PHP面试题(附答案分析)• PHP面试之常见基础算法(附代码示例)• 有没有PHP下传多张图片的源码学习一上 • 求伪静态的 PHP 程序解决办法! • 用PHP能不能失去网站的容量
    1/1

    PHP中文网