Skip to content

Commit

Permalink
apache acl (2.2, 2.4) (yiisoft#230)
Browse files Browse the repository at this point in the history
In 2.2, access control based on client hostname, IP address, and other characteristics of client requests was done using the directives Order, Allow, Deny, and Satisfy.

In 2.4, such access control is done in the same way as other authorization checks, using the new module mod_authz_host.
  • Loading branch information
diego-betto authored and mixartemev committed Apr 4, 2017
1 parent 04d8512 commit 7d5972b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/guide/start-installation.md
Expand Up @@ -74,6 +74,12 @@ the installed application. You only need to do these once for all.
DirectoryIndex index.php
# ...other settings...
# Apache 2.4
Require all granted
## Apache 2.2
# Order allow,deny
# Allow from all
</Directory>
</VirtualHost>
Expand All @@ -94,6 +100,12 @@ the installed application. You only need to do these once for all.
DirectoryIndex index.php
# ...other settings...
# Apache 2.4
Require all granted
## Apache 2.2
# Order allow,deny
# Allow from all
</Directory>
</VirtualHost>
```
Expand Down

0 comments on commit 7d5972b

Please sign in to comment.