Skip to content

Commit ebe236b

Browse files
Issue #1041580 by Monochrome, daycrom, dcam | RumpledElf: Fixed Favicon.ico 404s on IIS.
1 parent 705eb17 commit ebe236b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11

22
Drupal 7.23, xxxx-xx-xx (development version)
33
-----------------------
4+
- Changed the default web.config file for IIS servers to allow favicon.ico
5+
files which are present in the filesystem to be accessed.
46
- Fixed inconsistent support for the 'tel' protocol in Drupal's URL filtering
57
functions.
68
- Performance improvement: Allowed all hooks to be included in the

web.config

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
<rule name="Force simple error message for requests for non-existent favicon.ico" stopProcessing="true">
1313
<match url="favicon\.ico" />
1414
<action type="CustomResponse" statusCode="404" subStatusCode="1" statusReason="File Not Found" statusDescription="The requested file favicon.ico was not found" />
15+
<conditions>
16+
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
17+
</conditions>
1518
</rule>
1619
<!-- Rewrite URLs of the form 'x' to the form 'index.php?q=x'. -->
1720
<rule name="Short URLs" stopProcessing="true">

0 commit comments

Comments
 (0)