(fedora-packages) Try redirecting missing icons to a default icon.

This commit is contained in:
Ralph Bean 2015-03-13 23:39:02 +00:00
parent e5e03b53fa
commit 4256279629

View file

@ -52,3 +52,8 @@ WSGIScriptAlias /packages /usr/share/fedoracommunity/production/apache/fedoracom
Allow from all
</Directory>
<Directory /var/cache/fedoracommunity/packages/icons/>
# If someone tries to access an icon that doesn't exist, then send them to the
# default icon.
ErrorDocument 404 https://apps.fedoraproject.org/packages/images/icons/package_128x128.png
</Directory>