- 论坛徽章:
- 0
|
我的系统版本信息
[root@bogon ~]# cat /proc/version
Linux version 2.6.18-1.2798.fc6 (brewbuilder@hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Mon Oct 16 14:37:32 EDT 2006
Apache版本
[root@bogon ~]# httpd -v
Server version: Apache/2.2.3
Server built: Sep 11 2006 09:43:05
大致情况如下:
1)Apache测试正常通过
[root@bogon ~]# /usr/local/apache/bin/apachectl configtest
Syntax OK
2)禁用了Selinux
[root@bogon ~]# cat /etc/sysconfig/selinux
//注释部分隐藏
SELINUX=disabled
SELINUXTYPE=targeted
[root@bogon ~]# cat /etc/selinux/config
SELINUX=disabled
SELINUXTYPE=targeted
3)httpd.conf文件基本配置如下:
ServerRoot "/usr/local/apache"
<IfModule !mpm_netware_module>
<IfModule !mpm_winnt_module>
User daemon
Group daemon
</IfModule>
</IfModule>
DocumentRoot "/usr/local/apache/htdocs"
<Directory />
Options FollowSymLinks
Order deny,allow
Allow from all
</Directory>
<Directory "/usr/local/apache/htdocs">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
4)ServerRoot目录、/usr/local/apache/都已经给予了 r+x 权限
但访问http://localhost 提示:没权限访问/index.html,
请求各位帮我查下原因!谢谢大家!
[ 本帖最后由 leezer 于 2009-9-14 16:37 编辑 ] |
|