In fact: COAST is allready a http-server! Youd don't need any Apache, Internet Information Server or other http-server. This example show you the different parameters for configuring a http(s)-server.
[[#wd DisplayAnythingRenderer { /AnythingInfo { "/ListenerPool { # this server listens on 2 ports" " HTTP HTTPS" "}" } }]]
[[#wd DisplayAnythingRenderer { /AnythingInfo { "/HTTP { # defines http listener" " /Port 8895" "}" "/HTTPS { # defines https listener" " /Port 8896" " #--- SSL configuration needs certificate and private key files" " /CertFile "recipes_cert.pem"" " /KeyFile "recipes_key.pem"" "}" } }]]
[[#wd DisplayAnythingRenderer { /AnythingInfo { "/UseBaseURL 0 # switches use of base URL on/off" "/HostName "marvin.itopia.loc"" "/BaseAddress {" " /Condition {" " /ContextCondition { header.HTTPS }" " /True { "https://" {/Lookup HostName} ":" {/Lookup HTTPS.Port} "/" }" " /False { "http://" {/Lookup HostName} ":" {/Lookup HTTP.Port} "/" }" " }" "}" } }]]