LinuxSir.cn,穿越时空的Linuxsir!

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

装好了apache2后的问题??

[复制链接]
发表于 2004-9-8 19:17:59 | 显示全部楼层 |阅读模式
按下面编译配置好了之后
./configure -prefix=/usr/local/apache2 -enable-so (可改为你自己的目录;-enable-so用于加载connector,不可省略,你还可以加上你自己的其他模块)
make
make install
cd /usr/local/apache2/conf
vi httpd.conf
更改:servername 你的机器ip或域名
group nobody
listen yourip:80

如果是http://myip就可以看到欢迎画面,
http://localhost,就说could not connect remote server,请问为什么?
发表于 2004-9-8 19:20:28 | 显示全部楼层
因为你没有设置localhost的监听哦。呵呵。。
 楼主| 发表于 2004-9-8 19:28:57 | 显示全部楼层
请问怎么设置?谢谢!
 楼主| 发表于 2004-9-12 21:48:44 | 显示全部楼层
请问怎么设置localhost的监听亚,谢谢!
发表于 2004-9-12 22:29:14 | 显示全部楼层
阅读httpd.conf啊,有注释的

Listen 80
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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