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

Comments (0)

› No comments yet.

Leave a Reply

Allowed Tags - You may use these HTML tags and attributes in your comment.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Pingbacks (0)

› No pingbacks yet.