[Catalyst] Re: uri_for() not working under lighttpd fastcgi

Carl Franks fireartist at gmail.com
Fri Sep 14 15:45:18 GMT 2007


I discovered that if instead of hitting:
    http://my-domain/amazon
I hit:
    http://my-domain/amazon/

... then uri_for() started working as expected.

I added a rewrite rule to my lighttpd config:
    url.rewrite = ( "^/amazon$" => "/amazon/" )
and everything is now working again.

I don't know if this is the best solution though.

Cheers,
Carl



More information about the Catalyst mailing list