replacing jetty's default favicon display?
Christopher Bongaarts
cab at umn.edu
Fri Dec 9 18:11:39 EST 2016
We put ours in JETTY_BASE/webapps/ROOT/favicon.ico (note - not .png)
I think this is the "default" resourceBase.
On 12/9/2016 4:43 PM, Aaron Howell wrote:
>
>
> You have to also serve static content from the root /
>
> e.g.: JETTY_BASE/shibboleth-idp/webapps/static.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd">
> <Configure class="org.eclipse.jetty.server.handler.ContextHandler">
> <Set name="contextPath">/</Set>
> <Set name="handler">
> <New class="org.eclipse.jetty.server.handler.ResourceHandler">
> <Set name="resourceBase”>__SOME_DIRECTORY_PATH__</Set>
> <Set name="directoriesListed”>false</Set>
> </New>
> </Set>
> </Configure>
>
> Then you just need to have a favicon.ico located in the path you have
> set for the resourceBase - this is the file that gets used by default.
> Seems jetty serves a default icon if a replacement doesn’t exist (you
> would have to explicitly disable this -
> http://stackoverflow.com/questions/23383408/how-to-change-jetty-icon)
>
> Cheers
> Aaron
>
>
>
>> On 10 Dec. 2016, at 8:56 am, IAM David Bantz <dabantz at alaska.edu
>> <mailto:dabantz at alaska.edu>> wrote:
>>
>> Sorry this is not a purely Shibboleth question, but as Jetty is
>> recommended in Shibb documentation, I'm hoping one of you can provide
>> a quick solution to the display of the ugly default favicon.png on
>> IdP pages served up by V3 IdP running in Jetty.
>>
>> I've found proposed solutions that include adding a line to every web
>> page to indicate a favicon.png, but would hate to do that and then
>> track such customization indefinitely. There is no corresponding
>> favicon.png file that I found (only a RedHat favicon that isn't being
>> used).
>>
>> What's the trick?
>>
>> David Bantz
>> --
>> To unsubscribe from this list send an email to
>> users-unsubscribe at shibboleth.net
>> <mailto:users-unsubscribe at shibboleth.net>
>
> /*
> Important Notice:* The contents of this email are intended solely for
> the named addressee and are confidential; any unauthorised use,
> reproduction or storage of the contents is expressly prohibited. If
> you have received this email in error, please delete it and any
> attachments immediately and advise the sender by return email or
> telephone.
>
> Deakin University does not warrant that this email and any attachments
> are error or virus free./
>
>
--
%% Christopher A. Bongaarts %% cab at umn.edu %%
%% OIT - Identity Management %% http://umn.edu/~cab %%
%% University of Minnesota %% +1 (612) 625-1809 %%
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20161209/d71447c3/attachment.html>
More information about the users
mailing list