PDA

View Full Version : IP listen



giorgos
01-03-2008, 05:24 PM
i have i machine debian 4 i just install DA the server have 6 ips and how its possible to listen only to 2 ips and not to 6 ips on ports 80 and 443 ?

chatwizrd
01-03-2008, 05:51 PM
Edit the files

/etc/httpd/conf/httpd.conf
/etc/httpd/conf/httpd-ssl.conf
or
/etc/httpd/extra/httpd-ssl.conf

Change the Listen variable to

Listen IP-HERE:80

and

Listen IP-HERE:443

then run

/sbin/service httpd restart

giorgos
01-03-2008, 06:21 PM
Thanks a lot