[Catalyst] Authentication: first steps

Marcello m.romani at spinsoft.it
Thu Jul 14 11:57:39 CEST 2005


Mike McKay ha scritto:
> Hartmaier Alexander wrote:
> 
>> When logging in firefox wants to save favicon.ico, IE works as expected.
>> How to fix this?
> 
> 
> Firefox request favicon.ico from every site it visits. If it finds one 
> then you get that nice little icon in the URL bar - and when you make a 
> bookmark it uses the favicon.ico as well.
> 
> So to handle this in catalyst you can any of the following:
> - ignore it
> - make a method to handle it
> - use Catalyst::Plugin::Static to serve up a favicon.ico file when 
> requested
> 
> HTH
> Mike
> 
> 
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
> 

Attached you find the favicon.ico version that I'm using.

sub favicon : Path('/favicon.ico') {
     my ( $self, $c ) = @_;
     $c->res->redirect('/static/favicon.ico');
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: favicon.ico
Type: image/x-icon
Size: 259 bytes
Desc: not available
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20050714/0cfaf14b/favicon.ico


More information about the Catalyst mailing list