LoginSignup
55
54

More than 5 years have passed since last update.

Apache2.4ではconfの書き方が変わりました。

Last updated at Posted at 2013-12-14

Apache 2.2から2.4に上がった時にかなり変更があったんですね。ぐぐる
Ubuntu13.10にて確認。

アクセス権

  • AH01630: client denied by server configuration
アクセス権限
        <Directory /home/htdocs/>
-               Order allow,deny
-               allow from all
+               Require all granted
        </Directory>

site-enabled

  • VirtualHostが有効にならない??と思っていたら、拡張子.confを付けないといけないのですね。
site-enabled
-Include sites-enabled/
+IncludeOptional sites-enabled/*.conf

NameVirtualHost

  • AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/ports.conf:7
  • VirtualHostは普通に使うよね、ということか。
-NameVirtualHost 80
55
54
1

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
55
54