{"id":112,"date":"2006-07-21T23:55:00","date_gmt":"2006-07-21T23:55:00","guid":{"rendered":"http:\/\/blog.trungson.com\/?p=112"},"modified":"2006-07-21T23:55:00","modified_gmt":"2006-07-21T23:55:00","slug":"lighttpd-apache-together-on-multipleips","status":"publish","type":"post","link":"http:\/\/blog.trungson.com\/?p=112","title":{"rendered":"lighttpd &amp; Apache together on multipleIPs"},"content":{"rendered":"<p>Say you need to run lighttpd &#038; Apache together on the same server, same port 80, but on different IP addresses. Have this in lighttpd.conf:<\/p>\n<pre>\nserver.port = 80\nserver.bind = \"lighttpd_IP1\"\n$SERVER[\"socket\"] == \"lighttpd_IP2:80\" {}\n<\/pre>\n<p>And listen to a specific IP in Apache&#8217;s httpd.conf<\/p>\n<pre>\nListen Apache_IP:80\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Say you need to run lighttpd &#038; Apache together on the same server, same port 80, but on different IP addresses. Have this in lighttpd.conf: server.port = 80 server.bind = &#8220;lighttpd_IP1&#8221; $SERVER[&#8220;socket&#8221;] == &#8220;lighttpd_IP2:80&#8221; {} And listen to a specific IP in Apache&#8217;s httpd.conf Listen Apache_IP:80<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts\/112"}],"collection":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=112"}],"version-history":[{"count":0,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts\/112\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=112"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}