[libvirt] [PATCH] Add a custom 404 error page for the website

Daniel P. Berrange berrange at redhat.com
Mon Jun 18 11:02:14 UTC 2012


On Mon, Jun 18, 2012 at 11:59:02AM +0100, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> ---
>  docs/404.html.in        |   23 +++++++++++++++++++++++
>  docs/libvirtLogo404.png |  Bin 0 -> 32442 bytes
>  2 files changed, 23 insertions(+)
>  create mode 100644 docs/404.html.in
>  create mode 100644 docs/libvirtLogo404.png
> 
> diff --git a/docs/404.html.in b/docs/404.html.in
> new file mode 100644
> index 0000000..9363871
> --- /dev/null
> +++ b/docs/404.html.in
> @@ -0,0 +1,23 @@
> +<?xml version="1.0"?>
> +<html>
> +  <body>
> +    <h1>404 page not found</h1>
> +
> +    <p>
> +      Someone appears to have eaten the <del>penguin</del>
> +      page you were looking for. You might want to try
> +    </p>
> +    <ul>
> +      <li>going back to the <a href="http://libvirt.org/">home page</a> to find
> +        a collection of links to interesting pages on this site</li>
> +      <li>using the search box at the top right corner of the screen to
> +        locate the content on this site or mailing list archives</li>
> +    </ul>
> +
> +    <p class="image">
> +      <img src="libvirtLogo404.png" alt="libvirt Logo"/>
> +    </p>
> +
> +
> +  </body>
> +</html>
> diff --git a/docs/libvirtLogo404.png b/docs/libvirtLogo404.png
> new file mode 100644
> index 0000000000000000000000000000000000000000..059c0ebeccf5ad2e1fa4f99dc3e91299ae607bf5
> GIT binary patch

[snip]

In case you're wondering, this PNG is basically a copy of this logo:

   http://libvirt.org/libvirtLogo.png

but with one of the penguins missing (presumed eaten)

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list