LoginSignup
0
2

More than 5 years have passed since last update.

client denied by server configurationが出るとき

Last updated at Posted at 2014-04-19

以下設定する。

<Directory /srv/www>
    Require all granted
</Directory>

Require all grantedが肝。

よくある間違い

間違い
<Directory /srv/www>
    Order allow,deny
    Allow from all
</Directory>
これは穴を突かれた時/以下をapache権限の範囲で見られると思う
  <Directory />
          Options FollowSymLinks
          AllowOverride None
-         Require all denied
+         Require all granted
  </Directory>
0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2