Favicon.ico

9 views
Skip to first unread message

Bengt Wällstedt

unread,
Mar 8, 2026, 6:49:28 PM (4 days ago) Mar 8
to SimpleSAMLphp
Hi!
We have a custom theme for things like colours and selectidp-links, the theme works exactly as it should. One thing remains unsolved, though: the favicon.ico. No matter how we try to pick the favicon.ico from the theme's /public/assets directory it just won't work and the default favicon.ico, the fish with bubbles, is shown on the browser tab.We could easily replace the favicon.ico where it is, in /var/simplesamlphp/public/assets/base/icons/ but we'd rather keep all the theming wthin the theme  We have tried a lot, any suggestion how to from within the theme make SimpleSAMLphp pick up the favicin.ico there instead of default location would be much appreciated!
Kind regards
Bengt Wällstedt

Peter Schober

unread,
Mar 9, 2026, 4:20:31 AM (4 days ago) Mar 9
to simple...@googlegroups.com
Bengt Wällstedt <bengt.w...@gmail.com> [2026-03-08 23:49 CET]:
> No matter how we try to pick the favicon.ico from the theme's
> /public/assets directory it just won't work and the default
> favicon.ico, the fish with bubbles, is shown on the browser tab.

You don't provide any detaiks but I don't see how SimpleSAMLphp could
prevent you from linking to a different file altogether?

<link rel="icon" type="image/png" href="your/path/to/someimage.png">

> We could easily replace the favicon.ico where it is, in
> /var/simplesamlphp/public/assets/base/icons/ but we'd rather keep
> all the theming wthin the theme

While not stricly "witin the theme" you could also redirect (or alias
or proxy) from /favicon.ico to your own version in the web server
configuration: That still leaves the SimpleSAMLphp distribution
unmodified and moves this change into server configuration territory.

HTH,
-peter
Reply all
Reply to author
Forward
0 new messages