I would like to build a webserver instance in Amazon that handles both PHP and static requests. Here's my idea ... is it crazy to join varnish + apache + lighttpd ?
Varnish in port 80 handling as reverse proxy. Apache2 in port 8080 to server PHP files (main requests to web pages) (called by Varnish) Lighttpd in port 81 to server just static files (called by HTML files)
The domains use to main web page (domain.com) and static content (cdn-domain.com) will pass through the Amazon ELB.
Make all sense ?