댓글 0건 조회 3,632회 작성일 14-08-07 23:57
In 2.4, such access control is done in the same way as other authorization checks, using the new module
mod_authz_host. The old access control idioms should be replaced by the new authentication mechanisms, although for compatibility with old configurations, the new module
mod_access_compat is provided.
Here are some examples of old and new ways to do the same access control.
In this example, all requests are denied.
Order deny,allow Deny from all
Require all denied
In this example, all requests are allowed.
Order allow,deny Allow from all
Require all granted
In the following example, all hosts in the example.org domain are allowed access; all other hosts are denied access.
Order Deny,Allow Deny from all Allow from example.org
Require host example.org
등록된 댓글이 없습니다.