On 2025-10-07 17:55:49, Omar Polo wrote:
> Hello,
>
> Sadeep Madurange <[email protected]> wrote:
> > Dear list,
> >
> > I installed cgit on OpenBSD. Everything went well except for the
> > favicon. I placed my favicon in /var/www/cgit directory with the
> > following permissions:
> >
> > -rw-r--r-- 1 www daemon 1150 Oct 5 11:16 favicon.ico
> >
> > In cgitrc, I have 'favicon=/favicon.ico' (I tried removing this from
> > cgitrc as well). However, the favicon is not showing (request is failing
> > with 404 error).
> >
> > My cgitrc:
> >
> > [...]
>
> I'm not running cgit on openbsd anymore, but can you also please show
> your httpd.conf stanza for cgit?
Hi Omar,
That reminded me that I didn't add favicon.ico to my httpd.conf:
location "/favicon.ico" {
root "/cgit"
no fastcgi
}
It's working now. Thank you!
--
W. D. Sadeep
PGP: 103BF9E3E750BF7E