So to solve the previous bug I mentionned, I've refactored the vhost part. I put it in its own gen_server. It's now possible add dynamically vhosts without restart by just adding them to the ini, It allows wildcard in vhost, specific functions in erlang per domain (which allows someone to build its own route). Default redirect function could aso be changed in the ini. It also fix issue in etap test (160) .
more details here : https://issues.apache.org/jira/browse/COUCHDB-855 - benoit
