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

    Apache Reference Manual (5)_PHP教程

    2016-07-13 17:11:34原创329

    Syntax: ...
    Context: server config, virtual host, .htaccess
    Status: core
    Compatibility: only available in Apache 1.3 and above.
    The directive provides for access control by filename, just as the directive does. However, it accepts a regular expression. For example:

    would match most common Internet graphics formats.
    See also: How Directory, Location and Files sections work for an explanation of how these different sections are combined when a request is received
    --------------------------------------------------------------------------------
    Group directive
    Syntax: Group unix-group
    Default: Group #-1
    Context: server config, virtual host
    Status: core
    The Group directive sets the group under which the server will answer requests. In order to use this directive, the stand-alone server must be run initially as root. Unix-group is one of:
    A group name
    Refers to the given group by name.
    # followed by a group number.
    Refers to a group by its number.
    It is recommended that you set up a new group specifically for running the server. Some admins use user nobody, but this is not always possible or desirable.
    Note: if you start the server as a non-root user, it will fail to change to the specified group, and will instead continue to run as the group of the original user.
    Special note: Use of this directive in requires a properly configured suEXEC wrapper. When used inside a in this manner, only the group that CGIs are run as is affected. Non-CGI requests are still processed as the group specified in the main Group directive.
    SECURITY: See User for a discussion of the security considerations.
    --------------------------------------------------------------------------------

    www.bkjia.comtruehttp://www.bkjia.com/PHPjc/629589.htmlTechArticleFilesMatch Syntax: FilesMatch regex ... /FilesMatch Context: server config, virtual host, .htaccess Status: core Compatibility: only available in Apache 1.3 and above. The FilesMatc...

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

    相关文章推荐

    • 【腾讯云】年中优惠,「专享618元」优惠券!• PHP面试之常见基础算法(附代码示例)• 基于wordpress主题制作的具体实现步骤_PHP教程• 基于PHP编程注意事项的小结_PHP教程• php中的一些数组排序方法分享_PHP教程• php设计模式 Interpreter(解释器模式)_PHP教程
    1/1

    PHP中文网