summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2013-08-05 23:45:37 -0400
committerDavid Rothstein <drothstein@gmail.com>2013-08-05 23:45:37 -0400
commitebe236b0c03750c624cd00db96fc535077e6f890 (patch)
tree2578c8203b356cfa4f4e5df99de981dd1346e3e5
parent705eb17dea58d0bf06013e14748cf86168ed75d4 (diff)
downloadbrdo-ebe236b0c03750c624cd00db96fc535077e6f890.tar.gz
brdo-ebe236b0c03750c624cd00db96fc535077e6f890.tar.bz2
Issue #1041580 by Monochrome, daycrom, dcam | RumpledElf: Fixed Favicon.ico 404s on IIS.
-rw-r--r--CHANGELOG.txt2
-rw-r--r--web.config3
2 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 1978e3985..4e1a8eb13 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,6 +1,8 @@
Drupal 7.23, xxxx-xx-xx (development version)
-----------------------
+- Changed the default web.config file for IIS servers to allow favicon.ico
+ files which are present in the filesystem to be accessed.
- Fixed inconsistent support for the 'tel' protocol in Drupal's URL filtering
functions.
- Performance improvement: Allowed all hooks to be included in the
diff --git a/web.config b/web.config
index 34afd0a46..09983d925 100644
--- a/web.config
+++ b/web.config
@@ -12,6 +12,9 @@
<rule name="Force simple error message for requests for non-existent favicon.ico" stopProcessing="true">
<match url="favicon\.ico" />
<action type="CustomResponse" statusCode="404" subStatusCode="1" statusReason="File Not Found" statusDescription="The requested file favicon.ico was not found" />
+ <conditions>
+ <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
+ </conditions>
</rule>
<!-- Rewrite URLs of the form 'x' to the form 'index.php?q=x'. -->
<rule name="Short URLs" stopProcessing="true">