Let's say I want to send people back and forth between an HTTP
connection and an HTTPS connection on a server based on some action. For
example, clicking on a logout button from within my application while
connected via HTTPS does something like:
$c-res-redirect(http://foo.com/;);
The above
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.
-d
Ashley wrote:
There are two approaches which have helped me. Remember the URI object
underneath can
-Original Message-
From: Dustin Suchter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2008 1:13 PM
To: The elegant MVC web framework
Subject: [Catalyst] Usage of $c-uri_for and $c-res-redirect
Let's say I want to send people back and forth between an HTTP
connection and an
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
$c-uri_for pulls it's base path from $c-req-base. Quoting the
documentation in the code:
If your application was queried with the URI
Chttp://localhost:3000/some/path then Cbase is Chttp://localhost:3000/
.
So, setting $c-req-base to your new base would do the trick for you I
think.
You would
Hi all.
To all students out there - Google Summer of Code proposals deadline
is monday the 31st of march at 5:00pm pacific daylight savings time
(or Sunday midnight UTC) - 5 days and 30 minutes from now. We want
you to write a proposal for the summer of code so that you have a
nice