code_change(OldVsn, State, Extra) -> term()

handle_call(X1, From, State) -> term()

handle_cast(Msg, State) -> term()

handle_info(Msg, State) -> term()

init(X1) -> term()

match_vhost(MochiReq) -> term()

Try to find a rule matching current Host heade. some rule is found it rewrite the Mochiweb Request else it return current Request.

redirect_to_vhost(MochiReq, VhostTarget) -> term()

start_link() -> term()

terminate(Reason, State) -> term()

View Functions