Apache
- The location of apache conf file:
- /etc/httpd/conf/httpd.conf
- Any file ends with
.conf
in /etc/httpd/conf.d will be read intogttpd.conf
Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
- Make sure
Listen 80
exists once in all configuration file
- Make sure
-
Apache basic operation
- service httpd start 启动
- service httpd restart 重新启动
- service httpd stop 停止服务
- apachectl start
- apachectl stop
- apachectl status
- chkconfig httpd on 设置开机启动
- /etc/init.d/httpd restart
- The location of log files:
- /var/log/httpd/access_log