From: short <> Date: Thu, 29 Sep 2005 01:42:33 +0000 (+0000) Subject: Avoid 404 errors in the logs for "favicon.ico" all the time. X-Git-Url: http://git.jankratochvil.net/?p=www.jankratochvil.net.git;a=commitdiff_plain;h=5bcefe09c90bea21270850148f8cbc4d64f473bb;hp=1084bdd372c9f84eacc0783a64ccc48d9e2a5b48 Avoid 404 errors in the logs for "favicon.ico" all the time. --- diff --git a/.htaccess b/.htaccess index 10557f6..34a7776 100644 --- a/.htaccess +++ b/.htaccess @@ -45,6 +45,7 @@ AddType application/zip .zip RewriteRule ^sw(|/.*)$ http://%{SERVER_NAME}/project$1 [R=301,L] RewriteRule ^projects(|/.*)$ http://%{SERVER_NAME}/project$1 [R=301,L] + RewriteRule ^favicon[.]ico$ /My/Status.pm?code=404 [P,L] RewriteRule ^(.*)[.]html[.]pl(|/.*)$ http://%{SERVER_NAME}/$1.pm$2 [R=301,L] RewriteRule ^(.*?)/+Index[.]pm$ http://%{SERVER_NAME}/$1/ [R=301,L] RewriteCond %{REQUEST_FILENAME}/Index.pm -f