#vi /etc/httpd/conf/httpd.conf
:
:
UserDir disable root
UserDir public_html
...
开启
...
...
修改 DefaultLanguage zh_cn
和AddDefaultcharset gb2312
最后wq退出.
新建个用户 #useradd liyi;
给新用户个密码 #passwd liyi;
在给用户个711权限.
给root个ip,netmask,gateway. 开启ifdown etho;ifup eht0 ;
再开启service httpd start; 用apachectl configtest检查文件httpd.conf,没问题.
个人认为没问题.一切配置项目ok.不会出现问题.可....不然!
我在windows xp IE下输入http://10.10.10.10/~liyi,等了一会时间.页面跳了下.找不到
Linux下的index.html页面.请大家看看哪里出了错,还是少了什么?在此谢谢了!