webserver 的DocumentRoot 怎样改?

由 shaoping 在 07-06-2003 11:32 发表:

webserver 的DocumentRoot 怎样改?

我在 "/usr/local/servers/apache/htdocs/"下加了一个linux 的目录,当我在IE里打入WEb server 的ip 时,IE 写着:

Forbidden

You don't have permission to access / on this server.

--------------------------------------------------------------------------------

Apache/1.3.27 Server at localhost.localdomain Port 80

请问大家,怎样才可以把linux 这个目录改好,可以让IE 游缆?


由 欧可侠 在 07-06-2003 11:50 发表:


没有权限访问你新建的子目录。 使用chmod 755 xxx修改权限。

DocumentRoot 可以在 /etc/httpd/conf/httpd.conf中修改。


如果你喜欢电脑绘图, 试用一下免费图形处理软件

----中文Pixia (http://www.delta-opt.com/pixia/)


由 shaoping 在 07-06-2003 12:51 发表:


要用到chown 这命令吗?


由 Xiangbuilder 在 07-06-2003 13:32 发表:

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus