[Catalyst] forward not working with Apache web server

Marcus Ramberg marcus.ramberg at gmail.com
Thu Feb 7 06:55:54 GMT 2008


On Feb 7, 2008 3:55 AM, Berk Birand <berkbirand at superonline.com> wrote:
>
> Although the outputs from the "Action trace" suggests that the forward
> does happen, when I add print statements, they are definitely not
> printed with Apache. The final redirection works in both occasions.
>
> I have no other means of debugging this, so I would appreciate any kind
> of help.


Hi Berk.

Please try using $c->log->info or $c->log->debug rather than print, or
if you must, use warn, as apache gets the errorlog from stderr, not
stdout.

-- 
With regards
Marcus Ramberg



More information about the Catalyst mailing list