- Patch #174940 by gpk: fixed favicon.ico 404s.

merge-requests/26/head
Dries Buytaert 2008-06-28 19:48:21 +00:00
parent 76fe77cc22
commit 6fca076ead
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ ErrorDocument 404 /index.php
# Force simple error message for requests for non-existent favicon.ico.
<Files favicon.ico>
ErrorDocument 404 "The requested file favicon.ico was not found."
ErrorDocument 404 "The requested file favicon.ico was not found.
</Files>
# Set the default handler.
@ -79,7 +79,7 @@ DirectoryIndex index.php
# uncomment the following line:
# RewriteBase /
# Rewrite URLs of the form 'index.php?q=x'.
# Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico