NAME

Subclassing - A guide to subclassing Apache2::Mogile::Dispatch

DESCRIPTION

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.

WHAT TO SUBCLASS?

mogile_key

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.

get_direction

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.

get_config

This function returns a hash ref that configures the module. See the docs on module configuration.

reproxy_request

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.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Apache2::Mogile::Dispatch

You can also look for information at:

COPYRIGHT & LICENSE

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.