Perl Documentation
canonical_host - make sure visitors use a canonical host name
Plugin canonical_host CanonicalHost www.example.com
This module will redirect all users that don't use the configured preferred host name to a URL using that name. This is recommended behaviour for search engine optimization, and it may be neccessary for things like Google API keys.