2.4 で Order ディレクティブが Require ディレクティブに変更された。 これを指定していないとこのエラーが出てアクセスしても 403 が返される。 <Directory /the/path/to/docroot> Order allow,deny Allow from all </Directory> これが2.2までの古い書き方。2.4では、次のようにしなければならない。 <Directory /the/path/to/docroot> Require all granted </Directory> mod_authz_core - Apache HTTP Server 例えばある特定のIP等からのアクセスを制限したい場合は こんな感じになるようだ。 <RequireAll> Require all granted Require not ip 1.1.1.1 </Re
![Apache2.4で "client denied by server configuration" が出たら | SonicNotes](https://cdn-ak-scissors.b.st-hatena.com/image/square/ee05f80629b842f77340b4799845599002b2a117/height=288;version=1;width=512/http%3A%2F%2Fassets.tumblr.com%2Fimages%2Fog%2Ftext_200.png)