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 HTTPS connection on a server based on some
action. For
example, clicking on a logout button from within my application
while
-Original Message-
From: Dustin Suchter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2008 5:44 PM
To: The elegant MVC web framework
Subject: Re: [Catalyst] Usage of $c-uri_for and $c-res-redirect
So I tried to look at the source of the test that failed, and I'm
not sure I
MVC web framework
Subject: Re: [Catalyst] Usage of $c-uri_for and $c-res-redirect
So I tried to look at the source of the test that failed, and I'm
not sure I even understand what it is doing. Here's the actual
error
message I'm getting:
t/01useok
t/02podskipped: set
On Thu, Mar 27, 2008 at 2:37 AM, Dustin Suchter [EMAIL PROTECTED] wrote:
So I like the idea of the plugin, but I'm having a hard time installing it.
I found one hit on the Internet that with a report of someone else having
the exact same problem as me, but I don't see the solution online:
That seems to have fixed the problem. Excellent catch!
I had Catalyst::Runtime version 5.7010 so I used CPAN to upgrade
that package which brought me up to 5.7012.
I don't know of a nice clean way to remove a package you've
installed with CPAN, but it was easy enough to just run 'test
ideas?
Byron Young wrote:
-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
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
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
11 matches
Mail list logo