Override Class Index for .htaccess - Apache HTTP Server Version 2.5
Modules | Directives | FAQ | Glossary | Sitemap | Report a bug Apache HTTP Server Version 2.5 Apache > HTTP Server > Documentation > Version 2.5 Override Class Index for .htaccess Available Languages: en | fr This is an index of the directives that are allowed in .htaccess files for various AllowOverride settings, organized by class. Its intended purpose is to help server administrators verify the privileges they're granting to .htaccess users.
For an overview of how .htaccess works, see the .htaccess tutorial . To determine the set of directives that your server configuration allows .htaccess users to use: Start with the set of directives in the AllowOverrideList for the directory in question. (By default, this is set to None .) Find the AllowOverride setting for the directory in question. (By default, it is set to None .) There are two special cases: If your AllowOverride setting is All , add every directive listed on this page to the list.
If your AllowOverride setting is None , you're done. Only the directives in the AllowOverrideList (if any) will be allowed. For each override class listed in AllowOverride , look up the corresponding set of directives below and add them to the list. Finally, add the set of directives that is always allowed in .htaccess (these are listed in the All section , below). Several of the override classes are quite powerful and give .htaccess users a large amount of control over the server.
For a stricter approach, set AllowOverride None and use AllowOverrideList to specify the exact list of directives that .htaccess users are allowed to use. Topics All AuthConfig FileInfo Indexes Limit Options See also All The following directives are allowed in any .htaccess file, as long as overrides are enabled in the server configuration. DeflateInflateLimitRequestBody mod_deflate Maximum size of inflated request bodies DeflateInflateRatioBurst mod_deflate Maximum number of times the inflation ratio for request bodies can be crossed DeflateInflateRatioLimit mod_deflate Maximum inflation ratio for request bodies <Else> core Contains directives that apply only if the condition of a previous <If> or <ElseIf> section is not satisfied by a request at runtime <ElseIf> core Contains directives that apply only if a condition is satisfied by a request at runtime while the condition of a previous <If> or <ElseIf> section is not satisfied Error core Abort configuration parsing with a custom error message <Files> core Contains directives that apply to matched filenames <FilesMatch> core Contains directives that apply to regular-expression matched filenames <If> core Contains directives that apply only if a condition is satisfied by a request at runtime <IfDefine> core Encloses directives that will be processed only if a test is true at startup <IfDirective> core Encloses directives that are processed conditional on the presence or absence of a specific directive <IfFile> core Encloses directives that will be processed only if file exists at startup <IfModule> core Encloses directives that are processed conditional on the presence or absence of a specific module <IfSection> core Encloses directives that are processed conditional on the presence or absence of a specific section directive <IfVersion> mod_version contains version dependent configuration LimitRequestBody core Restricts the total size of the HTTP request body sent from the client LimitXMLRequestBody core Limits the size of an XML-based request body LogIOTrackTTFB mod_logio Enable tracking of time to first byte (TTFB = time to first byte) LogIOTrackTTFU mod_logio Enable tracking of time to last request byte (TTFU = time to finish upload) LuaCodeCache mod_lua Configure the compiled code cache.
LuaHookAccessChecker mod_lua Provide a hook for the access_checker phase of request processing LuaHookAuthChecker mod_lua Provide a hook for the auth_checker phase of request processing LuaHookCheckUserID mod_lua Provide a hook for the check_user_id phase of request processing LuaHookFixups mod_lua Provide a hook for the fixups phase of a request processing LuaHookInsertFilter mod_lua Provide a hook for the insert_filter phase of request processing LuaHookLog mod_lua Provide a hook for the access log phase of a request processing LuaHookMapToStorage mod_lua Provide a hook for the map_to_storage phase of request processing LuaHookPreTranslate mod_lua Provide a hook for the pre_translate phase of a request processing LuaHookTranslateName mod_lua Provide a hook for the translate name phase of request processing LuaHookTypeChecker mod_lua Provide a hook for the type_checker phase of request processing LuaInherit mod_lua Controls how parent configuration sections are merged into children LuaInputFilter mod_lua Provide a Lua function for content input filtering LuaMapHandler mod_lua Map a path to a lua handler LuaOutputFilter mod_lua Provide a Lua function for content output filtering LuaPackageCPath mod_lua Add a directory to lua's package.cpath LuaPackagePath mod_lua Add a directory to lua's package.path LuaQuickHandler mod_lua Provide a hook for the quick handler of request processing LuaRoot mod_lua Specify the base path for resolving relative paths for mod_lua directives LuaScope mod_lua One of once, request, conn, thread -- default is once <Macro> mod_macro Define a configuration file macro MacroIgnoreBadNesting mod_macro Ignore warnings, and does not log, about bad nesting of Macros MacroIgnoreEmptyArgs mod_macro Ignore warnings, and does not log, about empty Macro argument(s) RLimitCPU core Limits the CPU consumption of processes launched by Apache httpd children RLimitMEM core Limits the memory consumption of processes launched by Apache httpd children RLimitNPROC core Limits the number of processes that can be launched by processes launched by Apache httpd children ServerSignature core Configures the footer on server-generated documents SSIErrorMsg mod_include Error message displayed when there is an SSI error SSITimeFormat mod_include Configures the format in which date strings are displayed SSIUndefinedEcho mod_include String displayed when an unset variable is echoed UndefMacro mod_macro Undefine a macro Use mod_macro Use a macro Warning core Warn from configuration parsing with a custom message xml2EncDefault mod_xml2enc Sets a default encoding to assume when absolutely no information can be automatically detected xml2StartParse mod_xml2enc Advise the parser to skip leading junk.
AuthConfig The following directives are allowed in .htaccess files when AllowOverride AuthConfig is in effect. They give .htaccess users control over the authentication and authorization methods that are applied to their directory subtrees, including several related utility directives for session handling and TLS settings. Anonymous mod_authn_anon Specifies userIDs that are allowed access without password verification Anonymous_LogEmail mod_authn_anon Sets whether the password entered will be logged in the error log Anonymous_MustGiveEmail mod_authn_anon Specifies whether blank passwords are allowed Anonymous_NoUserID mod_authn_anon Sets whether the userID field may be empty Anonymous_VerifyEmail mod_authn_anon Sets whether to check the password field for a correctly formatted email address AuthBasicAuthoritative mod_auth_basic Sets whether authorization and authentication are passed to lower level modules AuthBasicFake mod_auth_basic Fake basic authentication using the given expressions for username and password AuthBasicProvider mod_auth_basic Sets the authentication provider(s) for this location AuthBasicUseDigestAlgorithm mod_auth_basic Check passwords against the authentication providers as if Digest Authentication was in force instead of Basic Authentication.
AuthBearerAuthoritative mod_auth_bearer Sets whether token verification is passed to lower level modules AuthBearerProvider mod_auth_bearer Sets the authentication provider(s) for this location AuthBearerProxy mod_auth_bearer Pass a bearer authentica
The rest of this page is on the live site.