|
楼主 |
发表于 2004-10-26 22:02:47
|
显示全部楼层
谢谢/etc/hostsl里已经有我的机器名,通过http://192.168.222.181也可以正常访问本地叶面,就是在httpd.conf里还,没有,现在的 是 这样的 :
#<VirtualHost *:80>
# ServerAdmin [email protected]
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
把ServerName dummy-host.example.com这里改过来就可以了吗?还有,前面的#是注释吗?再次谢谢dannycat |
|