httpd -Sでエラーの確認をすると、
AH00558:
1VirtualHost configuration: 2ServerRoot: "/usr" 3Main DocumentRoot: "/Library/WebServer/Documents" 4Main ErrorLog: "/private/var/log/apache2/error_log" 5Mutex default: dir="/private/var/run/" mechanism=default 6Mutex mpm-accept: using_defaults 7PidFile: "/private/var/run/httpd.pid" 8Define: DUMP_VHOSTS 9Define: DUMP_RUN_CFG 10User: name="_www" id=70 not_used 11Group: name="_www" id=70 not_used``` 12 13となり、apacheのhttps.confでServerNameを確認したら 14 15ServerName localhost:80と設定しています。先頭に#はついてません。 16 17localhost:80と設定しているのにどうして、上記のようなエラーが出るのでしょうか。 18 19また、エラーを直さなければ再起動などの処理は出来ないのでしょうか。 20 21お手数おかけしますがご回答頂けると幸いです。 22 23宜しくお願いします。 24 25Server version: Apache/2.4.33 (Unix) 26Server built: Apr 3 2018 18:00:56
回答1件
あなたの回答
tips
プレビュー