백엔드 개발 PHP 튜토리얼 ApacheReferenceManual7_PHP教程

ApacheReferenceManual7_PHP教程

Jul 13, 2016 pm 05:27 PM
c context directive server syntax

directive Syntax: ... Context: server config, virtual host Status: core Compatibility: Location is only available in Apache 1.1 and later. The directive provides for access control by URL. It is similar to the directive, and starts a subsection which is terminated with a directive. sections are processed in the order they appear in the configuration file, after the sections and .htaccess files are read, and after the sections. Note that URLs do not have to line up with the filesystem at all, it should be emphasized that operates completely outside the filesystem. For all origin (non-proxy) requests, the URL to be matched is of the form /path/, and you should not include any http://servername prefix. For proxy requests, the URL to be matched is of the form scheme://servername/path, and you must include the prefix. The URL may use wildcards In a wild-card string, `? matches any single character, and `* matches any sequences of characters. Apache 1.2 and above: Extended regular expressions can also be used, with the addition of the ~ character. For example: would match URLs that contained the substring "/extra/data" or "/special/data". In Apache 1.3 and above, a new directive exists which behaves identical to the regex version of . The Location functionality is especially useful when combined with the SetHandler directive. For example, to enable status requests, but allow them only from browsers at foo.com, you might use: SetHandler server-status order deny,allow deny from all allow from .foo.com Apache 1.3 and above note about / (slash): The slash character has special meaning depending on where in a URL it appears. People may be used to its behaviour in the filesystem where multiple adjacent slashes are frequently collapsed to a single slash (i.e., /home///foo is the same as /home/foo). In URL-space this is not necessarily true. The directive and the regex version of require you to explicitly specify multiple slashes if that is your intention. For example, would match the request URL /abc but not the request URL //abc. The (non-regex) directive behaves similarly when used for proxy requests. But when (non-regex) is used for non-proxy requests it will implicitly match multiple slashes with a single slash. For example, if you specify and the request is to /abc//def then it will match. See also: How Directory, Location and Files sections work for an explanation of how these different sections are combined when a request is received -------------------------------------------------------------------------------- Syntax: ... Context: server config, virtual host Status: core Compatibility: LocationMatch is only available in Apache 1.3 and later. The directive provides for access control by URL, in an identical manner to . However, it takes a regular expression as an argument instead of a simple string. For example: would match URLs that contained the substring "/extra/data" or "/special/data". See also: How Directory, Location and Files sections work for an explanation of how these different sections are combined when a request is received -------------------------------------------------------------------------------- LockFile directive Syntax: LockFile filename Default: LockFile logs/accept.lock Context: server config Status: core The LockFile directive sets the path to the lockfile used when Apache is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at its default value. The main reason for changing it is if the logs directory is NFS mounted, since the lockfile must be stored on a local disk. The PID of the main server process is automatically appended to the filename. SECURITY: It is best to avoid putting this file in a world writable directory such as /var/tmp because someone could create a denial of service attack and prevent the server from starting by creating a lockfile with the same name as the one the server will try to create. -------------------------------------------------------------------------------- LogLevel directive Syntax: LogLevel level Default: LogLevel error Context: server config, virtual host Status: core Compatibility: LogLevel is only available in 1.3 or later. LogLevel adjusts the verbosity of the messages recorded in the error logs (see ErrorLog directive). The following levels are available, in order of decreasing significance: Level Description Example emerg Emergencies - system is unusable. "Child cannot open lock file. Exiting" alert Action must be taken immediately. "getpwuid: couldnt determine user name from uid" crit Critical Conditions. "socket: Failed to get a socket, exiting child" error Error conditions. "Premature end of script headers" warn Warning conditions. "child process 1234 did not exit, sending another SIGHUP" notice Normal but significant condition. "httpd: caught SIGBUS, attempting to dump core in ..." info Informational. "Server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers)..." debug Debug-level messages "Opening config file ..." When a particular level is specified, messages from all other levels of higher significance will be reported as well. E.g., when LogLevel info is specified, then messages with log levels of notice and warn will also be posted. Using a level of at least crit is recommended. -------------------------------------------------------------------------------- MaxClients directive Syntax: MaxClients number Default: MaxClients 256 Context: server config Status: core The MaxClients directive sets the limit on the number of simultaneous requests that can be supported; not more than this number of child server processes will be created. To configure more than 256 clients, you must edit the HARD_SERVER_LIMIT entry in httpd.h and recompile. Any connection attempts over the MaxClients limit will normally be queued, up to a number based on the ListenBacklog directive. Once a child process is freed at the end of a different request, the connection will then be serviced. -------------------------------------------------------------------------------- MaxKeepAliveRequests directive Syntax: MaxKeepAliveRequests number Default: MaxKeepAliveRequests 100 Context: server config Status: core Compatibility: Only available in Apache 1.2 and later. The MaxKeepAliveRequests directive limits the number of requests allowed per connection when KeepAlive is on. If it is set to "0", unlimited requests will be allowed. We recommend that this setting be kept to a high value for maximum server performance. --------------------------------------------------------------------------------

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/531840.htmlTechArticledirective Syntax: ... Context: server config, virtual host Status: core Compatibility: Location is only available in Apache 1.1 and later. The directive provides for access control...
본 웹사이트의 성명
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.

핫 AI 도구

Undresser.AI Undress

Undresser.AI Undress

사실적인 누드 사진을 만들기 위한 AI 기반 앱

AI Clothes Remover

AI Clothes Remover

사진에서 옷을 제거하는 온라인 AI 도구입니다.

Undress AI Tool

Undress AI Tool

무료로 이미지를 벗다

Clothoff.io

Clothoff.io

AI 옷 제거제

Video Face Swap

Video Face Swap

완전히 무료인 AI 얼굴 교환 도구를 사용하여 모든 비디오의 얼굴을 쉽게 바꾸세요!

뜨거운 도구

메모장++7.3.1

메모장++7.3.1

사용하기 쉬운 무료 코드 편집기

SublimeText3 중국어 버전

SublimeText3 중국어 버전

중국어 버전, 사용하기 매우 쉽습니다.

스튜디오 13.0.1 보내기

스튜디오 13.0.1 보내기

강력한 PHP 통합 개발 환경

드림위버 CS6

드림위버 CS6

시각적 웹 개발 도구

SublimeText3 Mac 버전

SublimeText3 Mac 버전

신 수준의 코드 편집 소프트웨어(SublimeText3)

C언어에서 상수란 무엇인가요? 예를 들어주실 수 있나요? C언어에서 상수란 무엇인가요? 예를 들어주실 수 있나요? Aug 28, 2023 pm 10:45 PM

상수는 변수라고도 하며 일단 정의되면 프로그램이 실행되는 동안 그 값이 변경되지 않습니다. 따라서 변수를 고정된 값을 참조하는 상수로 선언할 수 있습니다. 텍스트라고도 합니다. 상수는 Const 키워드를 사용하여 정의해야 합니다. 구문 C 프로그래밍 언어에서 사용되는 상수의 구문은 다음과 같습니다. - consttypeVariableName; (또는) consttype*VariableName; 다양한 유형의 상수 C 프로그래밍 언어에서 사용되는 다양한 유형의 상수는 다음과 같습니다. 정수 상수 - 예: 1,0 ,34, 4567 부동 소수점 상수 - 예: 0.0, 156.89, 23.456 8진수 및 16진수 상수 - 예: 16진수: 0x2a, 0xaa.. 8진수

VSCode 및 VS C++ IntelliSense가 작동하지 않거나 라이브러리를 선택하지 않습니다. VSCode 및 VS C++ IntelliSense가 작동하지 않거나 라이브러리를 선택하지 않습니다. Feb 29, 2024 pm 01:28 PM

VS Code 및 Visual Studio C++ IntelliSense는 특히 대규모 프로젝트에서 작업할 때 라이브러리를 선택하지 못할 수 있습니다. #Include<wx/wx.h> 위로 마우스를 가져가면 "소스 파일 'string.h'를 열 수 없습니다."("wx/wx.h"에 따라 다름)라는 오류 메시지가 표시되며, 자동 완성 기능이 응답하지 않는 경우도 있습니다. 이 문서에서는 VSCode 및 VSC++ IntelliSense가 작동하지 않거나 라이브러리를 추출하지 않는 경우 수행할 수 있는 작업을 살펴보겠습니다. 내 Intellisense가 C++에서 작동하지 않는 이유는 무엇입니까? 대용량 파일을 작업할 때 IntelliSense가 가끔

C++에서 배열의 최소 및 최대 요소를 찾는 재귀 프로그램 C++에서 배열의 최소 및 최대 요소를 찾는 재귀 프로그램 Aug 31, 2023 pm 07:37 PM

정수 배열 Arr[]을 입력으로 사용합니다. 목표는 재귀적 방법을 사용하여 배열에서 가장 큰 요소와 가장 작은 요소를 찾는 것입니다. 재귀를 사용하고 있으므로 길이 = 1에 도달할 때까지 전체 배열을 반복한 다음 기본 사례를 구성하는 A[0]을 반환합니다. 그렇지 않은 경우 현재 요소는 현재 최소값 또는 최대값과 비교되고 해당 값은 후속 요소에 대해 반복적으로 업데이트됩니다. 이에 대한 다양한 입력 및 출력 시나리오를 살펴보겠습니다. −Input −Arr={12,67,99,76,32} Output −배열의 최대값: 99 설명 &mi

Windows 서버 백업을 설치, 제거 및 재설정하는 방법 Windows 서버 백업을 설치, 제거 및 재설정하는 방법 Mar 06, 2024 am 10:37 AM

WindowsServerBackup은 WindowsServer 운영 체제와 함께 제공되는 기능으로, 사용자가 중요한 데이터 및 시스템 구성을 보호하고 중소기업 및 대기업 수준의 기업에 완벽한 백업 및 복구 솔루션을 제공하도록 설계되었습니다. Server2022 이상을 실행하는 사용자만 이 기능을 사용할 수 있습니다. 이 문서에서는 WindowsServerBackup을 설치, 제거 또는 재설정하는 방법을 설명합니다. Windows Server 백업을 재설정하는 방법 서버 백업에 문제가 있거나 백업에 너무 오랜 시간이 걸리거나 저장된 파일에 액세스할 수 없는 경우 Windows Server 백업 설정을 재설정하는 것을 고려할 수 있습니다. Windows를 재설정하려면

Xbox 오류 코드 8C230002 수정 Xbox 오류 코드 8C230002 수정 Feb 27, 2024 pm 03:55 PM

오류 코드 8C230002로 인해 Xbox에서 콘텐츠를 구매하거나 시청할 수 없습니까? 일부 사용자가 본체에서 콘텐츠를 구매하거나 시청하려고 할 때 이 오류가 계속 발생합니다. 죄송합니다. Xbox 서비스에 문제가 있습니다. 나중에 다시 시도해 보세요. 이 문제에 대한 도움말을 보려면 www.xbox.com/errorhelp를 방문하세요. 상태 코드: 8C230002 이 오류 코드는 일반적으로 일시적인 서버 또는 네트워크 문제로 인해 발생합니다. 그러나 계정의 개인 정보 보호 설정이나 자녀 보호 기능 등 다른 이유로 인해 특정 콘텐츠를 구매하거나 시청하지 못할 수도 있습니다. Xbox 오류 코드 8C230002 수정 Xbox 콘솔에서 콘텐츠를 보거나 구매하려고 할 때 오류 코드 8C가 나타나는 경우

문맥은 무슨 뜻인가요? 문맥은 무슨 뜻인가요? Aug 04, 2023 pm 05:27 PM

컨텍스트는 프로그램이 실행될 때의 환경 및 상태 정보로, 변수의 값, 함수의 호출 스택, 프로그램의 실행 위치 등 다양한 정보를 포함할 수 있으며 이를 통해 프로그램이 대응할 수 있습니다. 다양한 상황에 따라 결정을 내리고 해당 작업을 수행합니다.

Go에서 요청 링크 추적을 구현하기 위해 컨텍스트를 사용하는 방법 Go에서 요청 링크 추적을 구현하기 위해 컨텍스트를 사용하는 방법 Jul 21, 2023 pm 05:57 PM

Go에서 컨텍스트를 사용하여 요청 링크 추적을 구현하는 방법 마이크로서비스 아키텍처에서 요청 링크 추적은 여러 마이크로서비스 간의 요청 전송 및 처리를 추적하는 데 사용되는 매우 중요한 기술입니다. Go 언어에서는 컨텍스트 패키지를 사용하여 요청 링크 추적을 구현할 수 있습니다. 이 기사에서는 요청 링크 추적에 컨텍스트를 사용하는 방법을 소개하고 코드 예제를 제공합니다. 먼저, 컨텍스트 패키지의 기본 개념과 사용법을 이해해야 합니다. 컨텍스트 패키지는 메커니즘을 제공합니다.

Go에서 컨텍스트를 사용하여 요청 캐싱을 구현하는 방법 Go에서 컨텍스트를 사용하여 요청 캐싱을 구현하는 방법 Jul 22, 2023 pm 10:51 PM

Go에서 컨텍스트를 사용하여 요청 캐싱을 구현하는 방법 소개: 웹 애플리케이션을 구축할 때 성능 향상을 위해 요청을 캐시해야 하는 경우가 많습니다. Go 언어에서는 컨텍스트 패키지를 사용하여 요청 캐싱 기능을 구현할 수 있습니다. 이 기사에서는 컨텍스트 패키지를 사용하여 요청 캐싱을 구현하는 방법을 소개하고 독자의 이해를 돕기 위한 코드 예제를 제공합니다. 맥락이란 무엇입니까? : Go 언어에서 컨텍스트 패키지는 여러 고루틴 간을 전달하는 방법을 제공합니다.

See all articles