linux下找到apache的安装目录,配置文件,域名等信息命令
linux下找到apache的安装目录,配置文件,域名等信息命令
ks_无名 发表于1年前
linux下找到apache的安装目录,配置文件,域名等信息命令
  • 发表于 1年前
  • 阅读 121
  • 收藏 0
  • 点赞 0
  • 评论 0

【腾讯云】买域名送云解析+SSL证书+建站!>>>   

执行命令: httpd -S

[root@dev-51jobnew ~]# httpd -S
AH00112: Warning: DocumentRoot [/www/miduoduo/htdocs] does not exist
AH00112: Warning: DocumentRoot [/www/miduoduo/htdocs] does not exist
VirtualHost configuration:
*:443                  is a NameVirtualHost
         default server login.xxx.com (/etc/httpd/conf.d/httpd-ssl.conf:122)
         port 443 namevhost login.xxx.com (/etc/httpd/conf.d/httpd-ssl.conf:122)
         port 443 namevhost appapi.xxx.com (/etc/httpd/conf.d/httpd-ssl.conf:299)
         port 443 namevhost js.xxx.com (/etc/httpd/conf.d/httpd-ssl.conf:330)
*:80                   is a NameVirtualHost
         default server search.xxx.com (/etc/httpd/conf.d/httpd-vhosts.conf:41)
         port 80 namevhost search.xxx.com (/etc/httpd/conf.d/httpd-vhosts.conf:41)
         port 80 namevhost tools.xxx.com (/etc/httpd/conf.d/httpd-vhosts.conf:66)
         port 80 namevhost login.xxx.com (/etc/httpd/conf.d/httpd-vhosts.conf:79)
         port 80 namevhost i.xxx.com (/etc/httpd/conf.d/httpd-vhosts.conf:91)
ServerRoot: "/etc/httpd"
Main DocumentRoot: "/www/htdocs"
Main ErrorLog: "|/usr/sbin/cronolog /var/www/logs/error_log%m%d"
Mutex ssl-stapling-refresh: using_defaults
Mutex rewrite-map: using_defaults
Mutex ssl-stapling: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir="/var/run/" mechanism=default
Mutex mpm-accept: using_defaults
PidFile: "/var/run/httpd.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name="nobody" id=99
Group: name="nobody" id=99

标签: apache
  • 打赏
  • 点赞
  • 收藏
  • 分享
共有 人打赏支持
粉丝 0
博文 19
码字总数 1269
×
ks_无名
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
* 金额(元)
¥1 ¥5 ¥10 ¥20 其他金额
打赏人
留言
* 支付类型
微信扫码支付
打赏金额:
已支付成功
打赏金额: