mod_authz_host.xml revision a330659fa32865eb8521adaccf5d9b75687b9aeb
cbff3fcdce5b0377a62fbe74f32e476efbf7ca9cNikolai Kondrashov<!DOCTYPE modulesynopsis SYSTEM "/style/modulesynopsis.dtd">
cbff3fcdce5b0377a62fbe74f32e476efbf7ca9cNikolai Kondrashov<?xml-stylesheet type="text/xsl" href="/style/manual.en.xsl"?>
cbff3fcdce5b0377a62fbe74f32e476efbf7ca9cNikolai Kondrashov<!-- $LastChangedRevision$ -->
cbff3fcdce5b0377a62fbe74f32e476efbf7ca9cNikolai Kondrashov Licensed to the Apache Software Foundation (ASF) under one or more
cbff3fcdce5b0377a62fbe74f32e476efbf7ca9cNikolai Kondrashov contributor license agreements. See the NOTICE file distributed with
cbff3fcdce5b0377a62fbe74f32e476efbf7ca9cNikolai Kondrashov this work for additional information regarding copyright ownership.
cbff3fcdce5b0377a62fbe74f32e476efbf7ca9cNikolai Kondrashov The ASF licenses this file to You under the Apache License, Version 2.0
cbff3fcdce5b0377a62fbe74f32e476efbf7ca9cNikolai Kondrashov (the "License"); you may not use this file except in compliance with
cbff3fcdce5b0377a62fbe74f32e476efbf7ca9cNikolai Kondrashov the License. You may obtain a copy of the License at
cbff3fcdce5b0377a62fbe74f32e476efbf7ca9cNikolai Kondrashov http://www.apache.org/licenses/LICENSE-2.0
cbff3fcdce5b0377a62fbe74f32e476efbf7ca9cNikolai Kondrashov Unless required by applicable law or agreed to in writing, software
d8899526551cbfe112e0ecc8280003a8349fc531Nikolai Kondrashov distributed under the License is distributed on an "AS IS" BASIS,
d8899526551cbfe112e0ecc8280003a8349fc531Nikolai Kondrashov WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
d8899526551cbfe112e0ecc8280003a8349fc531Nikolai Kondrashov See the License for the specific language governing permissions and
d8899526551cbfe112e0ecc8280003a8349fc531Nikolai Kondrashov limitations under the License.
cbff3fcdce5b0377a62fbe74f32e476efbf7ca9cNikolai Kondrashov<modulesynopsis metafile="mod_authz_host.xml.meta">
cbff3fcdce5b0377a62fbe74f32e476efbf7ca9cNikolai Kondrashov<description>Group authorizations based on host (name or IP
cbff3fcdce5b0377a62fbe74f32e476efbf7ca9cNikolai Kondrashovaddress)</description>
cbff3fcdce5b0377a62fbe74f32e476efbf7ca9cNikolai Kondrashov<identifier>authz_host_module</identifier>
cbff3fcdce5b0377a62fbe74f32e476efbf7ca9cNikolai Kondrashov<compatibility>Available in Apache 2.3 and later</compatibility>
cbff3fcdce5b0377a62fbe74f32e476efbf7ca9cNikolai Kondrashov <p>The authorization providers implemented by <module>mod_authz_host</module> are
cbff3fcdce5b0377a62fbe74f32e476efbf7ca9cNikolai Kondrashov registered using the <directive module="mod_authz_core">Require</directive>
cbff3fcdce5b0377a62fbe74f32e476efbf7ca9cNikolai Kondrashov directive. The directive can be referenced within a
cbff3fcdce5b0377a62fbe74f32e476efbf7ca9cNikolai Kondrashov <directive module="core" type="section">Directory</directive>,
900778b5afd0143005cfd40cc67ad5086481f7eeLukas Slebodnik <directive module="core" type="section">Files</directive>,
900778b5afd0143005cfd40cc67ad5086481f7eeLukas Slebodnik or <directive module="core" type="section">Location</directive> section
900778b5afd0143005cfd40cc67ad5086481f7eeLukas Slebodnik as well as <code><a href="core.html#accessfilename">.htaccess</a>
900778b5afd0143005cfd40cc67ad5086481f7eeLukas Slebodnik </code> files to control access to particular parts of the server.
900778b5afd0143005cfd40cc67ad5086481f7eeLukas Slebodnik Access can be controlled based on the client hostname or IP address.</p>
900778b5afd0143005cfd40cc67ad5086481f7eeLukas Slebodnik <p>In general, access restriction directives apply to all
900778b5afd0143005cfd40cc67ad5086481f7eeLukas Slebodnik access methods (<code>GET</code>, <code>PUT</code>,
900778b5afd0143005cfd40cc67ad5086481f7eeLukas Slebodnik <code>POST</code>, etc). This is the desired behavior in most
900778b5afd0143005cfd40cc67ad5086481f7eeLukas Slebodnik cases. However, it is possible to restrict some methods, while
900778b5afd0143005cfd40cc67ad5086481f7eeLukas Slebodnik leaving other methods unrestricted, by enclosing the directives
900778b5afd0143005cfd40cc67ad5086481f7eeLukas Slebodnik in a <directive module="core" type="section">Limit</directive> section.</p>
Require host .net example.edu