Say you need to run lighttpd & Apache together on the same server, same port 80, but on different IP addresses. Have this in lighttpd.conf:
server.port = 80 server.bind = "lighttpd_IP1" $SERVER["socket"] == "lighttpd_IP2:80" {}
And listen to a specific IP in Apache’s httpd.conf
Listen Apache_IP:80
Leave a Reply