|
|
按下面编译配置好了之后
./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,请问为什么? |
|