Rotating the favorite icon


After reading mfaris01’s article on “Creating a Favicon for Your Own Apache Server on SLES 10” I decided to write a small script that randomly rotates the favicon.ico file.

The following directives will need to be modified

WWW_ROOT – Set this directive to your HTTP document root.

FAVICON_DIR – Set this directive to the directory where you have stored all your icons

FAVICON_CONFIG – Set this directive if you want to configure an advanced selection.

If you choose the advanced selection then create the file that will store the previous icon name, otherwise the script will just pick at random even if the image has already been used previously.

This script is very good in a cron job.

(Visited 1 times, 1 visits today)


  • mfaris01 says:

    I never thought to rotate them.. Very Clever!


  • Leave a Reply

    Your email address will not be published. Required fields are marked *