Thread:Manual talk:Short URL/Apache/Adding Favicon Caused Internal Server Error

I need some guidance on using short URL's with favicons? I've Google'd the problem a fair bit and tried the following with no success. I'm running Mediawiki on my own virtual server and am editing the /etc/apache2/sites-available/default file.

I've tried the following:
 * Adding  before the index.php RewriteRule.
 * Adding  before the index.php RewriteRule.

The wiki install is standard. Everything is at /etc/w/ with a symbolic link to /var/www. My apache default file is configured to follow symbolic links.

Here are the relevant lines in my LocalSettings.php file:

If I comment out the favicon variable in the LocalSettings.php file the site runs flawlessly. If I leave the Favicon variable active I immediately get a 500 Internal Server Error.

EDIT: I looked in my Apache error.log and found the problem. Here's the error:

Now, why would apache be looking to /var/www/ for the favicon when I have set the location as $wgScriptPath/favicon.ico in LocalSettings.php?