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

ApacheReferenceManual1_PHP教程

WBOY
풀어 주다: 2016-07-13 17:27:44
원래의
893명이 탐색했습니다.

Apache Core Features These configuration parameters control the core Apache features, and are always available. AccessConfig directive Syntax: AccessConfig filename Default: AccessConfig conf/access.conf Context: server config, virtual host Status: core The server will read this file for more directives after reading the ResourceConfig file. Filename is relative to the ServerRoot. This feature can be disabled using: AccessConfig /dev/null Historically, this file only contained sections; in fact it can now contain any server directive allowed in the server config context. -------------------------------------------------------------------------------- AccessFileName directive Syntax: AccessFileName filename filename ... Default: AccessFileName .htaccess Context: server config, virtual host Status: core Compatibility: AccessFileName can accept more than one filename only in Apache 1.3 and later When returning a document to the client the server looks for the first existing access control file from this list of names in every directory of the path to the document, if access control files are enabled for that directory. For example: AccessFileName .acl before returning the document /usr/local/web/index.html, the server will read /.acl, /usr/.acl, /usr/local/.acl and /usr/local/web/.acl for directives, unless they have been disabled with AllowOverride None -------------------------------------------------------------------------------- AddModule directive Syntax: AddModule module module ... Context: server config Status: core Compatibility: AddModule is only available in Apache 1.2 and later The server can have modules compiled in which are not actively in use. This directive can be used to enable the use of those modules. The server comes with a pre-loaded list of active modules; this list can be cleared with the ClearModuleList directive. -------------------------------------------------------------------------------- AllowOverride directive Syntax: AllowOverride override override ... Default: AllowOverride All Context: directory Status: core When the server finds an .htaccess file (as specified by AccessFileName) it needs to know which directives declared in that file can override earlier access information. Override can be set to None, in which case the server will not read the file, All in which case the server will allow all the directives, or one or more of the following: AuthConfig Allow use of the authorization directives (AuthDBMGroupFile, AuthDBMUserFile, AuthGroupFile, AuthName, AuthType, AuthUserFile, require, etc.). FileInfo Allow use of the directives controlling document types (AddEncoding, AddLanguage, AddType, DefaultType, ErrorDocument, LanguagePriority, etc.). Indexes Allow use of the directives controlling directory indexing (AddDescription, AddIcon, AddIconByEncoding, AddIconByType, DefaultIcon, DirectoryIndex, FancyIndexing, HeaderName, IndexIgnore, IndexOptions, ReadmeName, etc.). Limit Allow use of the directives controlling host access (allow, deny and order). Options Allow use of the directives controlling specific directory features (Options and XBitHack). ----------------------------------------------

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/531837.htmlTechArticleApache Core Features These configuration parameters control the core Apache features, and are always available. AccessConfig directive Syntax: AccessConfig filename Default: Access...
관련 라벨:
원천:php.cn
본 웹사이트의 성명
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.
인기 튜토리얼
더>
최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿