I am running multiple sites on one server and am tired of seeing 404s coming from missing apple-touch-icons. I am required to have 6:
apple-touch-icon-57x57-precomposed.png
apple-touch-icon-72x72-precomposed.png
apple-touch-icon-114x114-precomposed.png
apple-touch-icon-144x144-precomposed.png
apple-touch-icon-precomposed.png
apple-touch-icon.png
Each "property" docroot I am hosting may, and probably will, have several sub-docroots all using the same apple touch icons as the parent so, this is what I want to do:
I have a common php file included in each apache configuration that knows the name of each property's name and sub-property's parent's names, which can be used in one single directory hosted on the server which will contain all of my apple-touch-icon images separated by directories named after the parent properties. In apache I can create an alias to this directory like so:
Alias /apple_touch_icons /var/www/common/apple_touch_icons/[enter property name here]/
But this won't be very dynamic so I want to move the directive into my common included php file and do the same thing, but with php instead. Is this possible?