Forum Moderators: phranque
I just looked at my error logs for my server (which hosts multiple sites) and wow does it have a lot of 404's mostly for things like favicon.ico.
I'm wondering if there's a command where I could copy a default favicon.ico into all those accounts, but be smart enough to not overwrite a favicon.ico if it already exists in the account?
My first thought is to alias favicon.ico to a PERL script which can do the file exists check and then serve a default file if needed. I'd use a script because it can combine both the file-exists checking and the DocumentRoot crossing, and you can keep its permissions locked down at the main server level.
Jim
[edited by: jdMorgan at 4:27 am (utc) on April 4, 2008]