Behaviour: openflax.handler.
This handler can be invoked from cfg_openflax_dispatch
when the URI matches a some pattern. The URI will be rewritten according
to certain rules, and the user agent will be redirected to the new URI.
| serve/1 | Rewrites the URI and redirects the user agent there. |
| start/1 | Initializes the rewriting handler. |
| stop/1 | Shuts down the rewriting handler. |
serve(Conf::conf()) -> ok | {error, Reason}
Rewrites the URI and redirects the user agent there.
Initializes the rewriting handler.
Shuts down the rewriting handler.