Subclassing - A guide to subclassing Apache2::Mogile::Dispatch
On its own Apache2::Mogile::Dispatch won't do what you want it to. The best way to take full advantage of its features is to subclass it to suite your needs.
This function returns the key used to query in mogile. In most cases it is the request uri but for large sites or sites that span multiple hosts there is a chance you may have conflicting urls.
This function returns the host_config (also known as the request config) that is used to determine if a give uri (request) is to be handled through mogile or not.
This function returns a hash ref that configures the module. See the docs on module configuration.
This function is used to determine if a mogile handled request is filtered through mod_include. See the example module SSI.pm for more information.
You can find documentation for this module with the perldoc command.
You can also look for information at:
The project page: http://dev.socklabs.com/projects/cpan/
The SVN repository: http://dev.socklabs.com/svn/cpan/Apache2-Mogile-Dispatch/trunk/
Copyright 2006 Nick Gerakines, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.