Graham Ollis π > Clustericious > Clustericious::Controller

Download:
Clustericious-1.21.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.21   Source  

NAME ^

Clustericious::Controller - Clustericious controller base class

VERSION ^

version 1.21

SYNOPSIS ^

 use base qw( Clustericious::Controller );

DESCRIPTION ^

Base class for all controllers in Clustericious applications

SUPER CLASS ^

Mojolicious::Controller

METHODS ^

url_for

Clustericious version of this method usually provided by Mojolicious.

redirect_to

Copied from Mojolicious::Controller, but works around a limitation of Apache's mod_proxy (namely: the ProxyPassReverse directive doesn't handle authorization information in the Location header.)

It does this by explicitly using the url_base from the Clustericious config file for the app as the base for the location header.

SEE ALSO ^

Clustericious

AUTHOR ^

Original author: Brian Duggan

Current maintainer: Graham Ollis <plicease@cpan.org>

Contributors:

Curt Tilmes

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by NASA GSFC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: