observe_dispatch_rewrite/3
Rewrite a URL before it will be dispatched using the z_sites_dispatcher
Type:
Return:
#dispatch_rewrite{} properties:
- is_dir:
boolean - path:
binary - host:
unknown
Rewrite a URL before it will be dispatched using the z_sites_dispatcher
Type:
Return:
#dispatch_rewrite{} properties:
booleanbinaryunknownStart with the URL that gives an unexpected result. Check its hostname: Zotonic uses it to select a site before matching the site's dispatch rules.
This module provides support for dealing with multiple languages.