lighttpd & Apache together on multipleIPs

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

Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *