NAME
Catalyst::Plugin::RelativePaths - Make $c->uri_for and $c->req->uri_with return relative URIs
VERSION
Version 0.01
SYNOPSIS
Make $c->uri_for and $c->req->uri_with return relative, instead of absolute URIs.
This is useful in situations where you're for example, redirecting to a lighttpd from a firewall rule, instead of a real proxy, and you want your links and redirects to still work correctly.
Also, mtfnpy.
package MyApp;
...
use Catalyst qw/RelativePaths/;
...
AUTHOR
Rafael Kitover, <rkitover at cpan.org>
BUGS
Please report any bugs or feature requests to bug-catalyst-plugin-relativepaths at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Catalyst-Plugin-RelativePaths. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Catalyst::Plugin::RelativePaths
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Catalyst-Plugin-RelativePaths
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
From #catalyst:
Thanks to vipul for pointing out that this hack can be used to get around troublesome networking issues.
Thanks to kd for explaining how this is possible, and reviewing my code.
COPYRIGHT & LICENSE
Copyright (c) 2008 Rafael Kitover
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.