LinuxSir.cn,穿越时空的Linuxsir!

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

Apache UserDir 的发问题,在线等待

[复制链接]
发表于 2006-10-18 21:25:24 | 显示全部楼层 |阅读模式
刚开始安装好 APACHE ,各项运作的没问题。 我在 /home/kane/public_html/ 下面新建了一个 index.php ,一开始可以正常通过 http://localhost/~kane 来浏览的,但是问题我修改 index.PHP的内容后,浏览的时候内容没有更新。 权限 755 777 都试过了。

后来上网有看了些资料,要到 Yast2 的 HTTP 服务器 和 /etc/config编辑器里面修改些东西。
地址http://susewiki.org/index.php?title=...es_on_Apache_2

YaST->Network Services->HTTP Service->Modules->Edit->Userdir->Toggle Status on (其中这里我只找到 userdir ,默认已经是 on 的了。 没找到 Toggle。)

YaST->System->/etc/sysconfig Editor->Network->WWW->Apache2->APACHE_CONF_INCLUDE_FILES-> set to /etc/apache2/mod_userdir.conf and press Finish.



修改完之后, 就访问不到 http://localhost/~kane ,提示

Object not found!

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.
Error 404
localhost
Wed Oct 18 21:06:14 2006
Apache/2.2.0 (Linux/SUSE)


有人知道怎么回事么?

另外,我用不到 UserDir 命令。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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