On Mar 26, 2008, at 1:31 PM, Dustin Suchter wrote:
Can you directly control the port you redirect to? Part of my problem is having consistency between the production and test environments, which operate on 80/443 and 3000/3000 respectively.

Don't see why not. Just add in $c->config magick or whatnot as necessary.

perldoc URI

use URI;
my $u = URI->new("http://example.com";);
print $u, $/;

$u->port("3000");
$u->scheme("https");
print $u, $/;


-Ashley


_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to