この内容は古いバージョンです。最新バージョンを表示するには、戻るボタンを押してください。
バージョン:1
ページ更新者:guest
更新日時:2019-07-11 00:10:23

タイトル: httpd.conf系のバーチャルホストの設定エラー有無確認方法
SEOタイトル: 【apache】httpd.conf系のバーチャルホストの設定エラー有無確認方法

$ sudo httpd -S

AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using ... .local. Set the 'ServerName' directive globally to suppress this message
VirtualHost configuration:
*:80                   localhost (/private/etc/apache2/extra/httpd-vhosts.conf:1)
ServerRoot: "/usr"
Main DocumentRoot: "/Library/WebServer/Documents"
Main ErrorLog: "/private/var/log/apache2/error_log"
Mutex default: dir="/private/var/run/" mechanism=default
Mutex mpm-accept: using_defaults
PidFile: "/private/var/run/httpd.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name="_www" id=70
Group: name="_www" id=70