Plug_URL_Redirector v0.1.0 PlugUrlRedirector.Dynamic
Dynamic URL redirector.
Summary
Functions
This module Plug redirects the given path at conn.request_path
to the given content of :external
prepended.
The redirection return code is 301 (Moved Permanently)
Functions
This module Plug redirects the given path at conn.request_path
to the given content of :external
prepended.
The redirection return code is 301 (Moved Permanently).
Example: for conn.request_path
of /test/test2.html',
if
:externalis set to
http://test.example.com,
the request is redirected to
http://test.example.com/test/test2.html`.