搜尋
首頁後端開發php教程ApacheReferenceManual6_PHP教程

KeepAliveTimeout directive Syntax: KeepAliveTimeout seconds Default: KeepAliveTimeout 15 Context: server config Status: Core Compatibility: KeepAliveTimeout is only available in Apache 1.1 and later. The number of seconds Apache will wait for a subsequent request before closing the connection. Once a request has been received, the timeout value specified by the Timeout directive applies. -------------------------------------------------------------------------------- directive Syntax: ... Context: any Status: core Access controls are normally effective for all access methods, and this is the usual desired behaviour. In the general case, access control directives should not be placed within a section. The purpose of the directive is to restrict the effect of the access controls to the nominated HTTP methods. For all other methods, the access restrictions that are enclosed in the bracket will have no effect. The following example applies the access control only to the methods POST, PUT, and DELETE, leaving all other methods unprotected: require valid-user The method names listed can be one or more of: GET, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH, PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, and UNLOCK. The method name is case-sensitive. If GET is used it will also restrict HEAD requests. -------------------------------------------------------------------------------- directive Syntax: ... Context: any Status: core Compatibility: Available in Apache 1.3.5 and later and are used to enclose a group of access control directives which will then apply to any HTTP access method not listed in the arguments; i.e., it is the opposite of a section and can be used to control both standard and nonstandard/unrecognized methods. See the documentation for for more details. -------------------------------------------------------------------------------- LimitRequestBody directive Syntax: LimitRequestBody number Default: LimitRequestBody 0 Context: server config, virtual host, directory, .htaccess Status: core Compatibility: LimitRequestBody is only available in Apache 1.3.2 and later. Number is a long integer from 0 (meaning unlimited) to 2147483647 (2GB). The default value is defined by the compile-time constant DEFAULT_LIMIT_REQUEST_BODY (0 as distributed). The LimitRequestBody directive allows the user to set a limit on the allowed size of an HTTP request message body within the context in which the directive is given (server, per-directory, per-file or per-location). If the client request exceeds that limit, the server will return an error response instead of servicing the request. The size of a normal request message body will vary greatly depending on the nature of the resource and the methods allowed on that resource. CGI scripts typically use the message body for passing form information to the server. Implementations of the PUT method will require a value at least as large as any representation that the server wishes to accept for that resource. This directive gives the server administrator greater control over abnormal client request behavior, which may be useful for avoiding some forms of denial-of-service attacks. -------------------------------------------------------------------------------- LimitRequestFields directive Syntax: LimitRequestFields number Default: LimitRequestFields 100 Context: server config Status: core Compatibility: LimitRequestFields is only available in Apache 1.3.2 and later. Number is an integer from 0 (meaning unlimited) to 32767. The default value is defined by the compile-time constant DEFAULT_LIMIT_REQUEST_FIELDS (100 as distributed). The LimitRequestFields directive allows the server administrator to modify the limit on the number of request header fields allowed in an HTTP request. A server needs this value to be larger than the number of fields that a normal client request might include. The number of request header fields used by a client rarely exceeds 20, but this may vary among different client implementations, often depending upon the extent to which a user has configured their browser to support detailed content negotiation. Optional HTTP extensions are often expressed using request header fields. This directive gives the server administrator greater control over abnormal client request behavior, which may be useful for avoiding some forms of denial-of-service attacks. The value should be increased if normal clients see an error response from the server that indicates too many fields were sent in the request. -------------------------------------------------------------------------------- LimitRequestFieldsize directive Syntax: LimitRequestFieldsize number Default: LimitRequestFieldsize 8190 Context: server config Status: core Compatibility: LimitRequestFieldsize is only available in Apache 1.3.2 and later. Number is an integer size in bytes from 0 to the value of the compile-time constant DEFAULT_LIMIT_REQUEST_FIELDSIZE (8190 as distributed). The LimitRequestFieldsize directive allows the server administrator to reduce the limit on the allowed size of an HTTP request header field below the normal input buffer size compiled with the server. A server needs this value to be large enough to hold any one header field from a normal client request. The size of a normal request header field will vary greatly among different client implementations, often depending upon the extent to which a user has configured their browser to support detailed content negotiation. This directive gives the server administrator greater control over abnormal client request behavior, which may be useful for avoiding some forms of denial-of-service attacks. Under normal conditions, the value should not be changed from the default. -------------------------------------------------------------------------------- LimitRequestLine directive Syntax: LimitRequestLine number Default: LimitRequestLine 8190 Context: server config Status: core Compatibility: LimitRequestLine is only available in Apache 1.3.2 and later. Number is an integer size in bytes from 0 to the value of the compile-time constant DEFAULT_LIMIT_REQUEST_LINE (8190 as distributed). The LimitRequestLine directive allows the server administrator to reduce the limit on the allowed size of a clients HTTP request-line below the normal input buffer size compiled with the server. Since the request-line consists of the HTTP method, URI, and protocol version, the LimitRequestLine directive places a restriction on the length of a request-URI allowed for a request on the server. A server needs this value to be large enough to hold any of its resource names, including any information that might be passed in the query part of a GET request. This directive gives the server administrator greater control over abnormal client request behavior, which may be useful for avoiding some forms of denial-of-service attacks. Under normal conditions, the value should not be changed from the default. -------------------------------------------------------------------------------- Listen directive Syntax: Listen [IP address:]port number Context: server config Status: core Compatibility: Listen is only available in Apache 1.1 and later. The Listen directive instructs Apache to listen to more than one IP address or port; by default it responds to requests on all IP interfaces, but only on the port given by the Port directive. Listen can be used instead of BindAddress and Port. It tells the server to accept incoming requests on the specified port or address-and-port combination. If the first format is used, with a port number only, the server listens to the given port on all interfaces, instead of the port given by the Port directive. If an IP address is given as well as a port, the server wi

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/531760.htmlTechArticleKeepAliveTimeout directive Syntax: KeepAliveTimeout seconds Default: KeepAliveTimeout 15 Context: server config Status: Core Compatibility: KeepAliveTimeout is only available in Ap...
陳述
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
如何解决“[Vue warn]: Failed to resolve directive”错误如何解决“[Vue warn]: Failed to resolve directive”错误Aug 20, 2023 pm 05:54 PM

如何解决“[Vuewarn]:Failedtoresolvedirective”错误Vue.js是一款流行的JavaScript框架,它提供了很多有用的功能来开发交互式的Web应用程序。其中一个特性是指令(Directive),它可以用于扩展HTML元素的功能或添加特定的行为。然而,有时候在使用指令时可能会遇到一个错误:“[Vuewarn]:F

SEC 寻求对 Terraform Labs 和 Do Kwon 处以 53亿美元的罚款SEC 寻求对 Terraform Labs 和 Do Kwon 处以 53亿美元的罚款Apr 24, 2024 pm 03:25 PM

该机构还寻求基于行为的和“遵守法律”的禁令。美国证券交易委员会(SEC)希望对TerraformLabs及其前首席执行官DoKwon处以近53亿美元的罚款,罪名是违反美国证券法和欺诈指控。该机构在4月19日的法律文件中详细说明了其要求的罚款。SEC主要寻求42亿美元的非法所得收益以及5.457亿美元的判决前利息。非法所得收益的目的在于迫使TerraformLabs和Kwon归还他们在2021年6月至2022年5月期间通过以下途径所获得的不公正利益:一是向机构投资者出售代币;二是通过与Genesi

美国现货ETH ETF上市计划推迟,SEC要求7月8日前提交修订S-1表格美国现货ETH ETF上市计划推迟,SEC要求7月8日前提交修订S-1表格Jun 30, 2024 pm 08:38 PM

美国现货以太坊 ETF 推出时间延期美国证券交易委员会(SEC)将现货以太坊交易所交易基金(ETH ETF)的推出时间推迟,并要求发行人在 7 月 8 日前重新提交 S-1 表格。这一决定导致原定于 7 月 2 日的上市计划被迫延后,预计新的上市时间将在 7 月中旬或更晚。背景概述针对现货以太坊 ETF 的审查进程出现了变动,彭博社的高级 ETF 分析师 Eric Balchunas 发表了评论,指出了 SEC 的最新决定及其对市场预期的影响。此前,SEC 主席 Gary Gensler 上个月

Vue3中的directive函数:自定义指令扩展Vue3功能Vue3中的directive函数:自定义指令扩展Vue3功能Jun 18, 2023 pm 05:40 PM

Vue3是目前最新的Vue版本,与Vue2相比,在许多方面都进行了升级和改进,其中一项改进便是directive函数。directive函数是Vue3中新增的函数,它可以用来自定义指令,以扩展Vue3的功能。什么是指令?指令是Vue提供的一种特殊的组件属性,用于在模板中添加特定的行为。可以将指令看作是一种AngularJS中常见的指令,它们可以对元素进行操作

The SEC Temporarily Suspends Its Allegations That SOL, ADA, and MATIC Are Unregistered SecuritiesThe SEC Temporarily Suspends Its Allegations That SOL, ADA, and MATIC Are Unregistered SecuritiesJul 31, 2024 am 12:25 AM

This decision comes amid the ongoing legal proceedings against Binance, one of the world's leading cryptocurrency exchanges.

Vue 中使用 directive 实现数字货币、时间等格式化的技巧及最佳实践Vue 中使用 directive 实现数字货币、时间等格式化的技巧及最佳实践Jun 25, 2023 pm 07:34 PM

Vue是现代化的前端框架,通过使用它提供的指令(directive),能够轻松地实现一些常用的格式化需求,例如格式化数字货币、格式化时间等。本文将介绍Vue中如何使用directive实现这些格式化的技巧及最佳实践。数字货币格式化在许多应用程序中,需要对货币进行格式化,以便用户能够更好地理解金额的大小。Vue提供了currency指令,它可以

SEC将在下周就比特币现货ETF进行表决SEC将在下周就比特币现货ETF进行表决Jan 18, 2024 pm 02:45 PM

知情人士之一表示:预计SEC将于下周就交易规则备案进行投票。通常,S-1文件在19b-4文件之后得到批准。如果这两个文件都获得批准,首个比特币现货ETF将在下一个工作日开始交易。消息发布后,比特币价格短线拉升0.7%,后涨幅回落。截至发稿报43812美元/枚。据两位知情人士透露,贝莱德、Grayscale等公司于周五晚间发布了19b-4文件的大量更新。然而,目前为止,SEC工作人员还未对此做出任何反馈。通常情况下,ETF的批准可以直接委托给SEC而无需投票,但比特币现货ETF的获批之路格外坎坷。

The SEC No Longer Asks the Court to Deem the Tokens Named in Its Lawsuit against Binance as SecuritiesThe SEC No Longer Asks the Court to Deem the Tokens Named in Its Lawsuit against Binance as SecuritiesJul 30, 2024 pm 06:29 PM

The United States Securities and Exchange Commission (SEC) no longer asks the court to decide and deem the tokens named in its lawsuit against the crypto exchange

See all articles

熱AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover

AI Clothes Remover

用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool

Undress AI Tool

免費脫衣圖片

Clothoff.io

Clothoff.io

AI脫衣器

AI Hentai Generator

AI Hentai Generator

免費產生 AI 無盡。

熱門文章

R.E.P.O.能量晶體解釋及其做什麼(黃色晶體)
3 週前By尊渡假赌尊渡假赌尊渡假赌
R.E.P.O.最佳圖形設置
3 週前By尊渡假赌尊渡假赌尊渡假赌
R.E.P.O.如果您聽不到任何人,如何修復音頻
3 週前By尊渡假赌尊渡假赌尊渡假赌

熱工具

Dreamweaver CS6

Dreamweaver CS6

視覺化網頁開發工具

MantisBT

MantisBT

Mantis是一個易於部署的基於Web的缺陷追蹤工具,用於幫助產品缺陷追蹤。它需要PHP、MySQL和一個Web伺服器。請查看我們的演示和託管服務。

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

強大的PHP整合開發環境

記事本++7.3.1

記事本++7.3.1

好用且免費的程式碼編輯器

DVWA

DVWA

Damn Vulnerable Web App (DVWA) 是一個PHP/MySQL的Web應用程序,非常容易受到攻擊。它的主要目標是成為安全專業人員在合法環境中測試自己的技能和工具的輔助工具,幫助Web開發人員更好地理解保護網路應用程式的過程,並幫助教師/學生在課堂環境中教授/學習Web應用程式安全性。 DVWA的目標是透過簡單直接的介面練習一些最常見的Web漏洞,難度各不相同。請注意,該軟體中