启动服务 service httpd start
重启服务 service httpd restart
停止服务 service httpd stop
使用指定的配置文件启动:/usr/sbin/httpd -k start -f /etc/httpd/conf/httpd_me.conf
httpd转发实现反向代理:http://blog.51cto.com/5468755/1369911
实现转发后如偶尔出现apache proxy错误,添加如下两个配置项即可解决:
1 | <VirtualHost *:80> |
参考:https://www.aliyun.com/jiaocheng/205214.html
设置开机启动:chkconfig httpd on
取消开机启动:chkconfig httpd off