LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1075|回复: 6

问一个apache问题

[复制链接]
发表于 2003-12-17 09:16:50 | 显示全部楼层 |阅读模式
我的系统是freebsd,装完apache后,测试它却出现"You don't have permission to access / on this server."请问怎么解决呀!谢谢
发表于 2003-12-17 11:39:19 | 显示全部楼层
是你的apache的index没设置好

xxxx@cvsup~# grep index /usr/local/etc/apache/httpd.conf
LoadModule autoindex_module   libexec/apache/mod_autoindex.so
AddModule mod_autoindex.c
# directory index.  Separate multiple entries with spaces.
            DirectoryIndex index.php index.php3 index.html
            DirectoryIndex index.php3 index.html
            DirectoryIndex index.php index.html
            DirectoryIndex index.html
<IfModule mod_autoindex.c>
    # FancyIndexing is whether you want fancy directory indexing or standard
    # server-generated indexes.  These are only displayed for FancyIndexed
    # directory indexes.
    # IndexIgnore is a set of filenames which directory indexing should ignore
# End of indexing directives.
 楼主| 发表于 2003-12-18 09:34:21 | 显示全部楼层

re

不是吧!
 楼主| 发表于 2003-12-18 09:35:27 | 显示全部楼层

re

能告诉我怎么开放80端口吗
发表于 2003-12-19 10:49:29 | 显示全部楼层
你的80端口应该已经开了吧,主要是apache的配置文件里的权限控制。
发表于 2003-12-19 11:13:09 | 显示全部楼层
默认80端口就是开放的,是你主页所在的文件的属性问题,看看是不是可以访问
发表于 2003-12-20 05:12:00 | 显示全部楼层
check apache looooooooooooooooooooooooooooooog!!!!!!!!!!!!!!!!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表