超级求助!!!关于lightppd的问题

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
zhongzhaoyong
帖子: 10
注册时间: 2008-10-10 18:29

超级求助!!!关于lightppd的问题

#1

帖子 zhongzhaoyong » 2009-04-10 21:12

最近作毕业设计,用 python 的框架 django, 想要用 apache2 和 mod_python 做动态网页的处理,静态的文件用 lighttpd做服务器

在/etc/network/interfaces/ 里面加了两个内网的地址作开发用 如下:
auto eth0:0
iface eth0:0 inet static
address 192.168.0.180
netmask 255.255.255.0
gateway 192.168.0.1

auto eth0:1
iface eth0:1 inet static
address 192.168.0.181
netmask 255.255.255.0
gateway 192.168.0.1

然后设置了一下apache2监听192.168.0.180,可以识别

然后在lighttpd.conf里设置server.bind=192.168.0.181
但是之后重启lighttpd 就出现说192.168.0.181 8000 不能绑定
请问大家有没有什么解决办法,提供个想法?谢谢大家
回复