Chinaunix首页 | 论坛 | 博客
  • 博客访问: 386219
  • 博文数量: 112
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 800
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-29 13:41
文章分类

全部博文(112)

文章存档

2020年(1)

2018年(10)

2017年(27)

2016年(18)

2015年(31)

2014年(25)

分类: 系统运维

2015-12-14 00:10:27

1、查看apache安装版本
    httpd -version;
    rpm -qa httpd;
    rpm -ql httpd #查看安装路径。 
2、”Forbidden You don't have permission to access / on this server.“
     查看目录可读性;
3、查看apache启动了哪些模块
    apachectl -l
4、”httpd:Could not reliably determine the server‘s fully qualified domain name“
     vi httpd.conf 修改#ServerName 为 ServerName localhost:80
5、启动httpd,端口监听,但链接打不开
    关闭selinux: setenforce 0(暂时);
                         vi /etc/selinux/config  讲SELINUX=enforcing修改为SELINUX=disable;
    清掉iptables:   iptables -L(查看防火墙规则),iptables -F(清理规则);
阅读(707) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~