[Catalyst] internal redirect

Adeola Awoyemi adeola at digitalcraftsmen.net
Wed Apr 11 16:52:10 GMT 2007


On 11 Apr 2007, at 16:43, 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?

Yes, the new image is being created as $new_filepath.

By $new_filepath I mean uri_path and $new_filename is system_path.

Adeola.




More information about the Catalyst mailing list