[Catalyst] internal redirect

Bill Moseley moseley at hank.org
Wed Apr 11 16:43:47 GMT 2007


On Wed, Apr 11, 2007 at 08:36:52AM -0700, Bill Moseley wrote:
> On Wed, Apr 11, 2007 at 03:28:59PM +0100, Adeola Awoyemi wrote:
> >     if ( $new_img->write( file => $new_filename ) ) {
> > 
> > I tried using "$c->response->redirect( $new_filepath )" but that  
> > issues a 302 "Temporarily Moved" status.
> 
> I suspect your web document root is not the root of the file system.

Oops -- I read those as the same variable.  Shows, how important it is
to use good variable names.

Are you sure $new_filepath is really where you are saving the image?


-- 
Bill Moseley
moseley at hank.org




More information about the Catalyst mailing list