装好了apache2后的问题??

由 bbskill 在 09-08-2004 19:17 发表:

装好了apache2后的问题??

按下面编译配置好了之后

./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,请问为什么?


由 黯然销魂 在 09-08-2004 19:20 发表:


因为你没有设置localhost的监听哦。呵呵。。


-- Hacking is "an appropriate application of ingenuity.." --

--If Linux doesn't have the solution, you have the wrong problem.--

^^ LFS 511(/w udev) + BLFS CVS ^^

XOrg R681 + KDE 3.3.0


由 bbskill 在 09-08-2004 19:28 发表:


请问怎么设置?谢谢!


由 bbskill 在 09

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