Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users

Serving favicon.ico / static files directly

 

 

Cherokee users RSS feed   Index | Next | Previous | View Threaded


david.mohl at hotmail

Dec 14, 2011, 8:29 AM

Post #1 of 3 (265 views)
Permalink
Serving favicon.ico / static files directly

Hey there!

I have problems serving my favicon (http://.../favicon.ico) on my cherokee
server.
I tried the full path rule but after that i'm out. I can't figure out what
cherokee uses to server files directly.

I tried the static content handler, but i can only set a directory, and not
a absolute path to my file there.
Tried with some different handlers, but always the same result.

In some older forum posts they've used the "file handler" but i guess that
don't exists anymore.

What am i missing?


Cheers
Dave


me at pigmej

Dec 14, 2011, 8:33 AM

Post #2 of 3 (253 views)
Permalink
Re: Serving favicon.ico / static files directly [In reply to]

Just configrure it as you wanted to do.
Static content as a handler, and set the document root to the
directory where the favicon.ico is.

so:
- use 'full path' and set it to "/favicon.ico" + static content like
"/home/user/so/me/thing"


Pozdrawiam
Jędrzej Nowak



On Wed, Dec 14, 2011 at 5:29 PM, David Mohl <david.mohl [at] hotmail> wrote:
> Hey there!
>
> I have problems serving my favicon (http://.../favicon.ico) on my cherokee
> server.
> I tried the full path rule but after that i'm out. I can't figure out what
> cherokee uses to server files directly.
>
> I tried the static content handler, but i can only set a directory, and not
> a absolute path to my file there.
> Tried with some different handlers, but always the same result.
>
> In some older forum posts they've used the "file handler" but i guess that
> don't exists anymore.
>
> What am i missing?
>
>
> Cheers
> Dave
>
> _______________________________________________
> Cherokee mailing list
> Cherokee [at] lists
> http://lists.octality.com/listinfo/cherokee
>
_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


david.mohl at hotmail

Dec 14, 2011, 9:29 AM

Post #3 of 3 (248 views)
Permalink
Re: Serving favicon.ico / static files directly [In reply to]

As simple as that!
Thank you very much.

Dave


2011/12/14 Jędrzej Nowak <me [at] pigmej>

> Just configrure it as you wanted to do.
> Static content as a handler, and set the document root to the
> directory where the favicon.ico is.
>
> so:
> - use 'full path' and set it to "/favicon.ico" + static content like
> "/home/user/so/me/thing"
>
>
> Pozdrawiam
> Jędrzej Nowak
>
>
>
> On Wed, Dec 14, 2011 at 5:29 PM, David Mohl <david.mohl [at] hotmail> wrote:
> > Hey there!
> >
> > I have problems serving my favicon (http://.../favicon.ico) on my
> cherokee
> > server.
> > I tried the full path rule but after that i'm out. I can't figure out
> what
> > cherokee uses to server files directly.
> >
> > I tried the static content handler, but i can only set a directory, and
> not
> > a absolute path to my file there.
> > Tried with some different handlers, but always the same result.
> >
> > In some older forum posts they've used the "file handler" but i guess
> that
> > don't exists anymore.
> >
> > What am i missing?
> >
> >
> > Cheers
> > Dave
> >
> > _______________________________________________
> > Cherokee mailing list
> > Cherokee [at] lists
> > http://lists.octality.com/listinfo/cherokee
> >
>

Cherokee users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.