Why not implement your template-based system as an add-on to
Apache rather than as a full web-server?
With the current design, I'd have to run Apache on port 80
and AWS on another port to get full-blown web server functionality.
For an example, see Velocity <http://jakarta.apache.org/velocity/>.
[log in to unmask]
Author of TASH, an open source Ada binding to Tcl/Tk