随笔分类 -  apache

摘要:一、安装Apache 1.安装yum -y install httpd2.开启apache服务systemctl start httpd.service3.设置apache服务开机启动systemctl enable httpd.service4.验证apache服务是否安装成功在本机浏览器中输入虚 阅读全文
posted @ 2017-09-20 12:05 Window2016 阅读(295) 评论(0) 推荐(0)
摘要:1、http2.4.1以前: 第一种 直接拒绝访问 打开 httpd.conf 文件,将一下配置追加到文件最后。 #直接拒绝所有非法域名 ServerName * ServerAlias * Order Allow,Deny Deny from all ErrorLog "/alidata/log/httpd/e... 阅读全文
posted @ 2017-06-27 09:04 Window2016 阅读(2848) 评论(0) 推荐(0)